From c7ae1480ffee1af8f489ec014f46a0e7001c9c46 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Sat, 19 Oct 2024 20:13:37 +0200 Subject: [PATCH] Update common-tests.yaml Signed-off-by: Kjeld Schouten --- .github/workflows/common-tests.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/common-tests.yaml b/.github/workflows/common-tests.yaml index 10d9bf9e714..97e4bcd1d66 100644 --- a/.github/workflows/common-tests.yaml +++ b/.github/workflows/common-tests.yaml @@ -244,3 +244,21 @@ jobs: echo -e "\n\n--===PODLOGS===--\n\n" cat /tmp/output.log rm -f /tmp/output.log + + # Summarize matrix https://github.community/t/status-check-for-a-matrix-jobs/127354/7 + common-tests-complete: + needs: [lint, unittest, install] + if: ${{ always() }} + name: Common Tets Completed + runs-on: ubuntu-latest + steps: + - name: Check Results + run: | + if [[ "${{ needs.lint.result }}" != "success" || \ + "${{ needs.unittest.result }}" != "success" || \ + "${{ needs.install.result }}" != "success" ]]; then + echo "One or more jobs failed!" + exit 1 + else + echo "Common Lint, Tests and unittests Completed Successfully" + fi