Test coverage

This commit is contained in:
Dylan 2022-09-28 23:31:14 +01:00
parent 872e3b2cb8
commit 23b68e4634
2 changed files with 4 additions and 2 deletions

2
.coveragerc Normal file
View File

@ -0,0 +1,2 @@
[run]
omit = wsgi.py

View File

@ -19,8 +19,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install pytest pytest-cov
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test with pytest
run: |
pytest
pytest --cov-config=.coveragerc --cov=.