Skip to content

Commit

Permalink
add coverage to action
Browse files Browse the repository at this point in the history
  • Loading branch information
gbrammer committed Oct 25, 2024
1 parent 6cfe6c5 commit ce9c1ee
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@ jobs:
- name: Install package
run: |
pip install -e .[test] -r requirements.txt
- name: Test with pytest
# - name: Test with pytest
# run: |
# pytest
- name: Run tests with coverage
run: |
pytest
pip install pytest coverage
coverage run -m pytest
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit ce9c1ee

Please sign in to comment.