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
parent e50be9bbde
commit 4cb035b955
2 changed files with 2 additions and 1 deletions

View File

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

1
.gitignore vendored
View File

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