Add coverage to github action

This commit is contained in:
Gabriel Augendre 2020-02-27 10:15:08 +01:00
parent eeb6cc9137
commit ad2d7efe94
No known key found for this signature in database
GPG key ID: 1E693F4CE4AEE7B4

View file

@ -32,7 +32,8 @@ jobs:
poetry install
- name: Test with pytest
run: |
poetry run pytest --color=yes
poetry run coverage run --source=. -m pytest --color=yes
poetry run coverage report
publish:
name: Publish to PyPI