test.yml: add coverage report (#282)
This commit is contained in:
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
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
|
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||||
|
|
||||||
- name: Setup test configuration
|
- name: Setup test configuration
|
||||||
@@ -40,4 +40,4 @@ jobs:
|
|||||||
|
|
||||||
- name: Test w/ PyTest
|
- name: Test w/ PyTest
|
||||||
run: |
|
run: |
|
||||||
pytest -m 'not slow' --verbose
|
pytest -m 'not slow' --verbose --cov=./bdfr/ --cov-report term:skip-covered
|
||||||
|
|||||||
Reference in New Issue
Block a user