Skip to content

Commit

Permalink
Always output the coverage report
Browse files Browse the repository at this point in the history
I intended to do this in 647e95e,
but the `failure()` call that I remove didn't limit it to failures
— it explicitly enabled it for failing jobs, where the default is
to skip subsequent jobs after a failure. However, if we want a job
to run after both failed and successful runs, we need the
`always()` call.
  • Loading branch information
Vinnl committed Oct 28, 2024
1 parent 0da0296 commit 888a59d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/unittests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
- run: npm test -- --coverageThreshold='{"global":{"branches":80,"functions":80,"lines":80,"statements":80}}'
if: github.event_name == 'schedule'
- uses: actions/upload-artifact@v4
if: always()
with:
name: coverage-report
path: coverage/
Expand Down

0 comments on commit 888a59d

Please sign in to comment.