diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 437caafa9d3..5fd796872ab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -246,3 +246,24 @@ jobs: set -x git status git diff --exit-code + + # Dummy job to have a stable name for the "all tests pass" requirement + tests-pass: + name: Tests pass + needs: + - pure-rust-build + - test + - test-fast + - test-32bit + - installation + - lint + - cargo-deny + - wasm + - check-packetline + if: always() # always run even if dependencies fail + runs-on: ubuntu-latest + steps: + # fail if ANY dependency has failed or cancelled + - if: "contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')" + run: exit 1 + - run: exit 0