From 805f806544cc0b6c85886e7097e1288eb2a840ff Mon Sep 17 00:00:00 2001 From: Lars Reimann Date: Tue, 7 Jun 2022 15:29:50 +0200 Subject: [PATCH] ci: compute Python test coverage --- .github/workflows/pr.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index eea8856f8..5fc4635d1 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -96,7 +96,7 @@ jobs: # Requires installation of pytest and pytest-cov - name: Test with pytest - run: poetry run pytest --doctest-modules + run: poetry run pytest --doctest-modules --cov=package_parser --cov-report=html - name: Upload test coverage if: ${{ github.actor != 'dependabot[bot]' }} @@ -145,7 +145,7 @@ jobs: # Requires installation of pytest and pytest-cov - name: Test with pytest - run: poetry run pytest --doctest-modules + run: poetry run pytest --doctest-modules --cov=package_parser --cov-report=html - name: Upload test coverage if: ${{ github.actor != 'dependabot[bot]' }}