Skip to content

Commit

Permalink
Remove deprecated utils from coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
qubvel committed Dec 23, 2024
1 parent ede9942 commit b0c9289
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
run: |
python -m pip list
- name: Test with pytest
run: pytest -v -n 2 --cov=segmentation_models_pytorch --cov-report=xml
run: pytest -v -n 2 --cov=segmentation_models_pytorch --cov-report=xml --cov-config=pyproject.toml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,6 @@ markers = [
"unetplusplus",
"upernet",
]

[tool.coverage.run]
omit = segmentation_models_pytorch/utils/*

0 comments on commit b0c9289

Please sign in to comment.