Skip to content

Commit

Permalink
add ci aggregation step
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonBurns committed Jun 3, 2023
1 parent 307a717 commit bec14cc
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,18 @@ jobs:
- name: Show Coverage
run: |
coverage report -m
# This allows us to have a branch protection rule for tests and deploys with matrix
#
# taken from https://github.com/orgs/community/discussions/4324#discussioncomment-3477871
ci-report-status:
runs-on: ubuntu-latest
needs: build
if: always()
steps:
- name: Successful CI
if: ${{ !(contains(needs.build.result, 'failure')) }}
run: exit 0
- name: Failing CI
if: ${{ contains(needs.build.result, 'failure') }}
run: exit 1

0 comments on commit bec14cc

Please sign in to comment.