mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
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:
parent
765e6f8dbf
commit
389d230ea3
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -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
|
||||||
|
|||||||
2
.gitignore
vendored
2
.gitignore
vendored
@ -8,6 +8,8 @@ venv
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
.vscode/settings.json
|
.vscode/settings.json
|
||||||
dist/**
|
dist/**
|
||||||
|
/.coverage
|
||||||
|
/coverage.xml
|
||||||
# User-specific stuff
|
# User-specific stuff
|
||||||
.idea/
|
.idea/
|
||||||
.env
|
.env
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user