Skip to content

Commit

Permalink
add code coverage upload to pytest workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-springer committed Apr 10, 2024
1 parent 17970d3 commit 1e11743
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,8 @@ jobs:
pip install --timeout=300 ${{ matrix.env }}
- name: Test with pytest ${{ matrix.env }}
run: |
pytest
python -m pytest --cov=./ --cov-report=xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 1e11743

Please sign in to comment.