Skip to content

Commit b0c9289

Browse files
committed
Remove deprecated utils from coverage
1 parent ede9942 commit b0c9289

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
run: |
4949
python -m pip list
5050
- name: Test with pytest
51-
run: pytest -v -n 2 --cov=segmentation_models_pytorch --cov-report=xml
51+
run: pytest -v -n 2 --cov=segmentation_models_pytorch --cov-report=xml --cov-config=pyproject.toml
5252
- name: Upload coverage reports to Codecov
5353
uses: codecov/codecov-action@v5
5454
with:

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,6 @@ markers = [
7070
"unetplusplus",
7171
"upernet",
7272
]
73+
74+
[tool.coverage.run]
75+
omit = segmentation_models_pytorch/utils/*

0 commit comments

Comments
 (0)