From 96a0c5377ea973892aee1893845dc355dffe58d6 Mon Sep 17 00:00:00 2001 From: Aidan Griffiths Date: Thu, 2 Nov 2023 14:10:28 +1100 Subject: [PATCH] chore: coverage report is handled by pytest-cov by default --- .github/workflows/python-app.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index f616a8a2..36e7b659 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -34,10 +34,7 @@ jobs: - name: Test with pytest run: | pip install pytest pytest-cov - coverage run -m pytest - - name: Report test coverage - run: | - coverage report -m + coverage run -m pytest tests/ --cov=src/scores - name: Test tutorial notebooks with pytest run: | - coverage run -m pytest --nbmake tutorials/ + pytest --nbmake tutorials/