Skip to content

Commit

Permalink
Merge pull request #149 from BrainLesion/148-coverage-reporting-fails…
Browse files Browse the repository at this point in the history
…-with-parallel-code

148 coverage reporting fails with parallel code
  • Loading branch information
Hendrik-code authored Oct 9, 2024
2 parents d02c7c6 + 1cdd314 commit 2bbd7ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2bbd7ab

Please sign in to comment.