test.yml: add coverage report (#282)
This commit is contained in:
parent
61489dc73d
commit
b355fb6500
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
@ -25,7 +25,7 @@ jobs:
|
|||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip flake8 pytest
|
||||
python -m pip install --upgrade pip flake8 pytest pytest-cov
|
||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||
|
||||
- name: Setup test configuration
|
||||
|
@ -40,4 +40,4 @@ jobs:
|
|||
|
||||
- name: Test w/ PyTest
|
||||
run: |
|
||||
pytest -m 'not slow' --verbose
|
||||
pytest -m 'not slow' --verbose --cov=./bdfr/ --cov-report term:skip-covered
|
||||
|
|
Loading…
Reference in a new issue