Add coverage to github action
This commit is contained in:
parent
eeb6cc9137
commit
ad2d7efe94
1 changed files with 2 additions and 1 deletions
3
.github/workflows/package.yml
vendored
3
.github/workflows/package.yml
vendored
|
@ -32,7 +32,8 @@ jobs:
|
||||||
poetry install
|
poetry install
|
||||||
- name: Test with pytest
|
- name: Test with pytest
|
||||||
run: |
|
run: |
|
||||||
poetry run pytest --color=yes
|
poetry run coverage run --source=. -m pytest --color=yes
|
||||||
|
poetry run coverage report
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
name: Publish to PyPI
|
name: Publish to PyPI
|
||||||
|
|
Loading…
Reference in a new issue