Skip to content

Commit 6a52dc5

Browse files
committed
Update coverage collection
1 parent 05c28d0 commit 6a52dc5

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ jobs:
2626
run: python -m pip install tox
2727

2828
- name: run Python tests
29-
run: tox -e tests
29+
run: |
30+
tox -e tests
31+
coverage xml
3032
3133
- name: upload to codecov.io
3234
uses: codecov/codecov-action@v5

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,12 @@ known_first_party = "skmatter"
8686

8787
[tool.pytest.ini_options]
8888
testpaths = ["tests"]
89-
addopts = ["--cov"]
89+
addopts = [
90+
"--cov",
91+
"--cov-append",
92+
"--cov-report=",
93+
"--import-mode=append",
94+
]
9095

9196
[tool.ruff]
9297
exclude = ["docs/src/examples/"]

0 commit comments

Comments
 (0)