diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bff557b..764330e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -7,7 +7,22 @@ on: branches: [ master ] jobs: - build-and-test: + # This job aggregates all matrix results and is used for a GitHub required status check. + test_results: + if: ${{ always() }} + runs-on: ubuntu-latest + name: Test Results + needs: [build_and_test] + steps: + - run: | + result="${{ needs.build_and_test.result }}" + if [[ $result == "success" || $result == "skipped" ]]; then + exit 0 + else + exit 1 + fi + + build_and_test: runs-on: ubuntu-latest strategy: matrix: