Skip to content

Commit

Permalink
ci: generate coverage report in xml
Browse files Browse the repository at this point in the history
  • Loading branch information
joanise committed Jun 2, 2022
1 parent aa254b3 commit 0bf7017
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,12 @@ jobs:
if pip-licenses | grep -v 'Artistic License' | grep -v LGPL | grep GNU; then echo 'Please avoid introducing *GPL dependencies'; false; fi
# Install testing requirements
pip install -r requirements.dev.txt
pip install coverage
pip install codecov
pip install gunicorn
pip install coverage codecov gunicorn
- name: Run tests
run: |
gunicorn readalongs.app:app --bind 0.0.0.0:5000 --daemon
(cd test && coverage run run.py prod)
(cd test && coverage run run.py prod && coverage xml)
- name: coding style nit-picking, we want black compliance
run: find . -name \*.py | xargs black --check
Expand Down

0 comments on commit 0bf7017

Please sign in to comment.