Skip to content

Commit

Permalink
Update codecov upload
Browse files Browse the repository at this point in the history
  • Loading branch information
pipliggins committed Nov 28, 2024
1 parent 1badc8f commit ff42039
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
python3 -m pytest --cov
- name: Upload coverage to Codecov
python3 -m pytest --cov --cov-report=xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
if: matrix.python-version == 3.10
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit ff42039

Please sign in to comment.