We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 973597d commit 45d7db7Copy full SHA for 45d7db7
.github/workflows/main.yml
@@ -316,3 +316,24 @@ jobs:
316
uses: actions/checkout@v4
317
- name: Check semver
318
uses: obi1kenobi/cargo-semver-checks-action@v2
319
+
320
+ # Dummy job to have a stable name for the "all tests pass" requirement
321
+ tests-pass:
322
+ name: Tests pass
323
+ needs:
324
+ - test
325
+ - check-tvos
326
+ - check-wasm
327
+ - test-wasm32-wasip1-thread
328
+ - cuda
329
+ - msrv
330
+ - clippy
331
+ - rustfmt
332
+ - semver-checks
333
+ if: always() # always run even if dependencies fail
334
+ runs-on: ubuntu-latest
335
+ steps:
336
+ # fail if ANY dependency has failed or cancelled
337
+ - if: "contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')"
338
+ run: exit 1
339
+ - run: exit 0
0 commit comments