From a743e9cc8948ba1972519864581370eb70d62bd8 Mon Sep 17 00:00:00 2001 From: christophkloeffel Date: Mon, 21 Oct 2024 11:29:07 +0200 Subject: [PATCH] adds one status check job --- .github/workflows/ci.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c715612..df6f292 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,6 @@ permissions: jobs: lint: name: PyLint - needs: test runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 @@ -26,7 +25,7 @@ jobs: make lint test: name: TestSuite - if: success() + needs: lint strategy: matrix: os: [ubuntu-24.04, windows-2022, macos-13, macos-14] @@ -81,3 +80,15 @@ jobs: if: always() run: | util/check_local_modifications.sh + check-all-jobs: + name: Check all jobs + needs: test + if: always() + runs-on: ubuntu-24.04 + steps: + - name: Success + if: success() + run: exit 0 + - name: Failure + if: failure() || cancelled() + run: exit 1