From 46d88b983c8d54c349492b72965132056da394b0 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 f616a8a22..77b825671 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 + pytest tests/ --cov=src/scores/ - name: Test tutorial notebooks with pytest run: | - coverage run -m pytest --nbmake tutorials/ + pytest --nbmake tutorials/