diff --git a/.github/workflows/pytest-coverage.yml b/.github/workflows/pytest-coverage.yml index ac598dc..f17f661 100644 --- a/.github/workflows/pytest-coverage.yml +++ b/.github/workflows/pytest-coverage.yml @@ -31,7 +31,7 @@ jobs: - name: Run pytest with coverage run: | - pytest --cov=./ + python3 -m coverage run -m pytest tests --junitxml=report.xml; coverage report -i --include=src/* - name: Upload coverage to Codecov uses: codecov/codecov-action@v1