From 7f9622fa5c2cd2033510298fc4c108cdeea9ccc4 Mon Sep 17 00:00:00 2001 From: Slava <20563034+veaceslavdoina@users.noreply.github.com> Date: Fri, 25 Oct 2024 09:53:40 +0300 Subject: [PATCH] ci: add matrix status job (#29) adds matrix status job to decouple branch rules status check from a jobs names which are based on Nim version --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 174f73e..fdce598 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,3 +26,11 @@ jobs: - name: Test run: nimble test -y + + status: + if: always() + needs: [test] + runs-on: ubuntu-latest + steps: + - if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'skipped') }} + run: exit 1