Skip to content

Commit 8a31f11

Browse files
Copilothzhangxyz
andauthored
Fix pytest coverage configuration: use apyds instead of pyds (#45)
* Initial plan * Fix pytest coverage configuration: move --cov=apyds to pyproject.toml Co-authored-by: hzhangxyz <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: hzhangxyz <[email protected]>
1 parent 7b31fa9 commit 8a31f11

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/pytest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: uv sync --locked --extra dev
3131

3232
- name: pytest
33-
run: uv run pytest --cov=pyds
33+
run: uv run pytest
3434

3535
wheels:
3636
runs-on: ${{ matrix.os }}

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ select = ["E4", "E7", "E9", "F"]
5454

5555
[tool.ruff.format]
5656

57+
[tool.pytest.ini_options]
58+
addopts = "--cov=apyds"
59+
5760
[tool.cibuildwheel]
5861
macos.archs = ["universal2"]
5962
windows.archs = ["AMD64"]

0 commit comments

Comments
 (0)