mirror of https://github.com/nucypher/nucypher.git
Add code coverage.
parent
131a7d4ced
commit
b45c93e025
|
@ -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
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
[pytest]
|
||||
addopts = --capture fd --maxfail 1
|
||||
addopts = --capture fd --maxfail 1 --cov --cov-append --cov-report=xml
|
||||
|
|
Loading…
Reference in New Issue