Skip to content

Commit 3cff5c7

Browse files
committed
Fix creating coverage report
1 parent eeed93b commit 3cff5c7

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/codecov.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,13 @@ jobs:
3232
pip install ".[optional]"
3333
- name: Install test requirements
3434
run: |
35-
pip install pytest pytest-cov
35+
pip install pytest coverage
3636
- name: Run tests
3737
run: |
38-
pytest --cov --cov-branch --cov-report=xml
38+
coverage run -m pytest
39+
- name: Create coverage report
40+
run: |
41+
coverage xml
3942
- name: Upload coverage reports to Codecov
4043
uses: codecov/codecov-action@v5
4144
with:

0 commit comments

Comments
 (0)