diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index df3f5ba..4bfd1e3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -39,7 +39,7 @@ jobs: python -m poetry run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Test with pytest run: | - python -m poetry run pytest --cov panoptica + python -m poetry run coverage run --source=panoptica -m pytest - name: Upload results to Codecov # Only upload to Codecov after a merge to the main branch if: github.ref == 'refs/heads/main' && github.event_name == 'push' diff --git a/pyproject.toml b/pyproject.toml index 95acd1a..51863bd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,8 +29,8 @@ scikit-image = "^0.22.0" "ruamel.yaml" = "^0.18.6" [tool.poetry.dev-dependencies] -pytest = "^6.2.5" -pytest-cov = "^3.0.0" +pytest = ">=8.1.1" +coverage = ">=7.0.1" pytest-mock = "^3.6.0" pandas = "^2.1.0" plotly = "^5.16.1"