diff --git a/.github/workflows/pytest-coverage.yml b/.github/workflows/pytest-coverage.yml index f430a0f..5ec644a 100644 --- a/.github/workflows/pytest-coverage.yml +++ b/.github/workflows/pytest-coverage.yml @@ -47,7 +47,10 @@ jobs: - name: Run pytest with coverage run: | - python3 -m coverage run -m pytest tests --junitxml=report.xml; coverage report -i --include=src/*; coverage xml -i --include=src/*; + python3 -m coverage run -m pytest tests --junitxml=report.xml + coverage report -i --include=src/* + coverage xml -i --include=src/* + codecov - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v4 diff --git a/requirements.txt b/requirements.txt index 19c7309..b0d53d1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -19,3 +19,4 @@ pytest-cov>=3 seaborn SciencePlots scikit-image +codecov