Skip to content

Commit

Permalink
Upgrade Codecov action (#492)
Browse files Browse the repository at this point in the history
- Use new Codecov CLI tool
- Set token using an environment variable
- Disable most of the plugins (can't disable them all)
  • Loading branch information
samdoran authored Apr 8, 2024
1 parent ef09612 commit ad5f13c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,12 @@ jobs:
run: pipenv run coverage xml

- name: Upload coverage to Codecov
uses: codecov/[email protected]
uses: codecov/[email protected]
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
flags: unittests
name: Python-${{ matrix.python-version}}
fail_ci_if_error: true
plugin: pycoverage # Only run one plugin even though we don't want any to run.

0 comments on commit ad5f13c

Please sign in to comment.