Skip to content

Commit

Permalink
Add CODECOV_TOKEN and fail_ci_if_error option
Browse files Browse the repository at this point in the history
  • Loading branch information
GraemeWatt committed Apr 17, 2024
1 parent c8e8f1b commit 40616ad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,11 @@ jobs:
- name: Report coverage with Codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
files: ./coverage.xml
flags: unittests-${{ matrix.python-version }}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Save notebooks
if: ${{ always() }}
Expand Down

0 comments on commit 40616ad

Please sign in to comment.