Fix Python coverage reporting.

Apparently the fact that I want the coverage report to be XML isn't
enough of a hint that I want coverage.
This commit is contained in:
Dan Albert 2023-06-05 20:02:07 -07:00 committed by Raffson
parent 765e6f8dbf
commit 389d230ea3
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99
2 changed files with 3 additions and 1 deletions

View File

@ -15,7 +15,7 @@ jobs:
- name: run tests
run: |
./venv/scripts/activate
pytest --cov-report=xml tests
pytest --cov --cov-report=xml tests
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3

2
.gitignore vendored
View File

@ -8,6 +8,8 @@ venv
.DS_Store
.vscode/settings.json
dist/**
/.coverage
/coverage.xml
# User-specific stuff
.idea/
.env