Skip to content

Commit 95d8289

Browse files
committed
chore: Fix cmd params for test coverage
1 parent d6c33e4 commit 95d8289

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
#----------------------------------------------
4747
- name: Test with pytest
4848
run: |
49-
uv run pytest -n auto --cov-report=xml:coverage.xml
49+
uv run pytest -n auto --cov --cov-report=xml:coverage.xml
5050
uv run coverage xml
5151
#----------------------------------------------
5252
# upload coverage

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
- name: Test
3535
run: |
36-
uv run pytest -n auto
36+
uv run pytest -n auto --cov
3737
3838
- name: Build
3939
run: |

pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,6 @@ addopts = [
6969
"--ignore=docs/auto_examples/",
7070
"--ignore=docs/_build/",
7171
"--ignore=tests/examples/",
72-
"--cov",
73-
"--cov-config",
74-
".coveragerc",
7572
"--doctest-glob=*.md",
7673
"--doctest-modules",
7774
"--doctest-continue-on-failure",

0 commit comments

Comments
 (0)