From 82f21a54fe71a0377652b4bb24af4961fb952daa Mon Sep 17 00:00:00 2001 From: Kevin Stillhammer Date: Tue, 30 Sep 2025 20:05:38 +0200 Subject: [PATCH] Don't assume all test passed if cancelled (#599) --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bbb7c37..afe9c90 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -792,6 +792,6 @@ jobs: steps: - name: All tests passed run: | - echo "All jobs passed: ${{ !contains(needs.*.result, 'failure') }}" + echo "All jobs passed: ${{ !(contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')) }}" # shellcheck disable=SC2242 - exit ${{ contains(needs.*.result, 'failure') && 1 || 0 }} + exit ${{ (contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')) && 1 || 0 }}