Skip to content

Commit 3d7ac49

Browse files
authored
Add pytest-cov with min coverage set to 95% (#93)
1 parent 5702052 commit 3d7ac49

File tree

2 files changed

+108
-1
lines changed

2 files changed

+108
-1
lines changed

poetry.lock

Lines changed: 106 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ respx = "^0.21.1"
4545
ruff = "^0.5.7"
4646
pre-commit = "3.5.0"
4747
faker = "^28.4.1"
48+
pytest-cov = "^5.0.0"
4849

4950
[build-system]
5051
requires = ["poetry-core"]
@@ -108,3 +109,4 @@ convention = "google"
108109
markers = [
109110
"integration: make API calls during testing (deselect with '-m \"not integration\"')",
110111
]
112+
addopts = "--cov=toggl_python --cov-fail-under=95"

0 commit comments

Comments
 (0)