diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 007b9c9ea..4043a174a 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: | pytest --nbmake tutorials/ diff --git a/pyproject.toml b/pyproject.toml index b8dd685d4..ac3c155fb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -88,9 +88,7 @@ source = ["/src/"] addopts = [ '--cov-fail-under=100', '--cov-branch', - '--cov-report=html', '--cov-report=term-missing', - '--junitxml=report.xml', # Ignore notebooks which depend on external data for E2E tests '--ignore=tutorials/First_Data_Fetching.ipynb', '--ignore=tutorials/Mean_Squared_Error.ipynb',