From 939f17dcd0842be535599cf860bd0d70ca006036 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Saparelli?= Date: Wed, 18 Jan 2023 03:13:49 +1300 Subject: [PATCH] Fix "Tests pass" step (#726) --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec09a8e6..a986ca37 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -112,9 +112,12 @@ jobs: - linux-cross-check - apple-m1-check - lint + if: always() # always run even if dependencies fail runs-on: ubuntu-latest steps: - - run: echo "Tests pass" + # fail if ANY dependency has failed or been skipped or cancelled + - if: "contains(needs.*.result, 'failure') || contains(needs.*.result, 'skipped') || contains(needs.*.result, 'cancelled')" + run: exit 1 # if everything succeeds and PR is ready for review, test the release/package process release-builds: