Skip to content

Commit

Permalink
Add coverage step in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
copalco committed Nov 20, 2019
1 parent 484338d commit aa7db15
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,10 @@ jobs:
mypy savetheprince tests
- name: Test with pytest
run: |
pip install coverage
cd src/
python -m unittest discover tests
coverage run -m unittest discover tests
- name: Check coverage
run: |
cd src/
coverage report

0 comments on commit aa7db15

Please sign in to comment.