From 5c1e79c2d94d2a1d3bb2e94dc1c03b0c9714af05 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 | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index f616a8a2..4043a174 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -33,11 +33,7 @@ jobs: pip install .[all] - 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 - name: Test tutorial notebooks with pytest run: | - coverage run -m pytest --nbmake tutorials/ + pytest --nbmake tutorials/