Skip to content

Commit

Permalink
add code coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengp0 committed Aug 5, 2023
1 parent 3c1df4b commit ffdcea8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/python-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ jobs:
run: python -m pip install .[test] --upgrade pip
- name: Test with pytest
run: pytest
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Build package distribution
if: startsWith(github.ref, 'refs/tags')
run: |
Expand Down

0 comments on commit ffdcea8

Please sign in to comment.