Skip to content

Commit 1081149

Browse files
authored
Merge pull request #12 from runcycles/claude/improve-test-coverage-7wODC
Move coverage config to [tool.coverage] so pytest works without pytes…
2 parents 8f129af + 8c46fb5 commit 1081149

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ jobs:
3535
run: mypy runcycles
3636

3737
- name: Run tests with coverage
38-
run: pytest
38+
run: pytest --cov

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,9 @@ strict = true
3838

3939
[tool.pytest.ini_options]
4040
asyncio_mode = "auto"
41-
addopts = "--cov=runcycles --cov-fail-under=95"
41+
42+
[tool.coverage.run]
43+
source = ["runcycles"]
44+
45+
[tool.coverage.report]
46+
fail_under = 95

0 commit comments

Comments
 (0)