From ad2d7efe94b88b006084c0238da8785c100c0e7b Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Thu, 27 Feb 2020 10:15:08 +0100 Subject: [PATCH] Add coverage to github action --- .github/workflows/package.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 375c643..471151a 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -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