Skip to content

Commit ea2a25e

Browse files
authored
Update python-app.yml
install pytest-cov and running pytest --cov
1 parent b03f918 commit ea2a25e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/python-app.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Install dependencies
2727
run: |
2828
python -m pip install --upgrade pip
29-
pip install flake8 pytest
29+
pip install flake8 pytest-cov
3030
pip install -e .
3131
if [ -f test-requirements.txt ]; then pip install -r test-requirements.txt; fi
3232
- name: Lint with flake8
@@ -37,7 +37,7 @@ jobs:
3737
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --extend-ignore=C901,E261,E302,E305,F401
3838
- name: Test with pytest
3939
run: |
40-
pytest
40+
pytest --cov .
4141
- name: Upload coverage reports to Codecov
4242
run: |
4343
curl -Os https://uploader.codecov.io/latest/linux/codecov

0 commit comments

Comments
 (0)