Skip to content

Commit

Permalink
chore(ci): add test conclusion step
Browse files Browse the repository at this point in the history
We require the test matrix to succeed before a PR can be merged.
Unfortunately, the rule is rather complex as it has to test that each
element of the test matrix completed successfully.

By adding another step which runs only of the matrix succeeded, we can
check that this ran, as opposed to each element of the matrix.

Signed-off-by: JP-Ellis <josh@jpellis.me>
  • Loading branch information
JP-Ellis committed Nov 22, 2023
1 parent b579655 commit 75542d9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,16 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}

test-conlusion:
name: Test matrix complete

runs-on: ubuntu-latest
needs:
- test

steps:
- run: echo "Test matrix completed successfully."

example:
name: Example

Expand Down

0 comments on commit 75542d9

Please sign in to comment.