Skip to content

Commit

Permalink
Add test job
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicole White committed Oct 27, 2023
1 parent d070dd0 commit c49eafd
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,24 @@ jobs:
- name: Run script
run: npm run start

# This allows us to have one required status check on the "test" job
# since it's not feasible to maintain required status checks on each
# job in the matrixes above.
test:
needs:
- test-python
- test-javascript

if: always()

runs-on: ubuntu-latest

steps:
- if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
run: |
echo "::error::One of the jobs failed or was cancelled."
exit 1
notify:
needs:
- test-python
Expand Down

0 comments on commit c49eafd

Please sign in to comment.