From e164a5e64834e7798bf4928c392a2abb8503e1c0 Mon Sep 17 00:00:00 2001 From: TangRufus Date: Sun, 10 May 2026 20:36:20 +0100 Subject: [PATCH] GitHub Actions: Fix `wait-for-all-tests` --- .github/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 26c9d83..790f9b6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -204,6 +204,7 @@ jobs: run: exit 1 wait-for-all-tests: + if: cancelled() || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'failure') needs: - positive - outputs @@ -211,4 +212,5 @@ jobs: - missing runs-on: ubuntu-latest steps: - - run: echo "All tests passed!" + - name: Assert no required jobs were cancelled or failed + run: exit 1