From c48d3eaf663bb34b20e3311ef9e396a18c2b1053 Mon Sep 17 00:00:00 2001 From: Kevin Stillhammer Date: Tue, 30 Sep 2025 20:00:56 +0200 Subject: [PATCH] Don't assume all test passed if cancelled (#236) --- .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 50750e5..d93af67 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -394,6 +394,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 }}