We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 527799e commit 0474e77Copy full SHA for 0474e77
.github/workflows/tests.yml
@@ -48,7 +48,13 @@ jobs:
48
run: |
49
python -m pip list
50
- name: Test with pytest
51
- run: pytest -v -n 2
+ run: pytest -v -n 2 --cov=segmentation_models_pytorch --cov-report=xml
52
+ - name: Upload coverage reports to Codecov
53
+ uses: codecov/codecov-action@v5
54
+ with:
55
+ token: ${{ secrets.CODECOV_TOKEN }}
56
+ slug: qubvel-org/segmentation_models.pytorch
57
+ if: matrix.os == 'macos-latest' && matrix.python-version == '3.12'
58
59
minimum:
60
runs-on: ubuntu-latest
requirements/test.txt
@@ -1,3 +1,4 @@
1
pytest==8.3.4
2
pytest-xdist==3.6.1
3
+pytest-cov==6.0.0
4
ruff==0.8.4
0 commit comments