diff options
| -rw-r--r-- | .github/workflows/main.yml | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7b4669ac..14e9636b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -74,7 +74,9 @@ jobs: if: always() needs: + - integration-test - test + - test_cygwin runs-on: ubuntu-latest @@ -82,6 +84,23 @@ jobs: - name: Decide whether the needed jobs succeeded or failed uses: re-actors/alls-green@release/v1 with: + allowed-skips: >- + ${{ + ( + ( + github.event_name == 'pull_request' || + ( + github.event_name == 'push' && + github.ref == format( + 'refs/heads/{0}', + github.event.repository.default_branch + ) + ) + ) + ) + && 'integration-test' + || '' + }} jobs: ${{ toJSON(needs) }} test_cygwin: @@ -143,8 +162,6 @@ jobs: release: needs: - check - - test_cygwin - - integration-test if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') runs-on: ubuntu-latest timeout-minutes: 75 |
