Add code coverage.

pull/3010/head
derekpierre 2022-11-11 14:57:53 -05:00
parent 131a7d4ced
commit b45c93e025
2 changed files with 8 additions and 1 deletions

View File

@ -73,3 +73,10 @@ jobs:
- name: CLI Tests
run: python -m pytest tests/acceptance/cli
- name: Upload coverage report
if: matrix.python-version == '3.10'
run: |
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov

View File

@ -1,2 +1,2 @@
[pytest]
addopts = --capture fd --maxfail 1
addopts = --capture fd --maxfail 1 --cov --cov-append --cov-report=xml