Skip to content

Commit

Permalink
Add pytest-cov with min coverage set to 95% (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
nifadyev authored Oct 28, 2024
1 parent 5702052 commit 3d7ac49
Show file tree
Hide file tree
Showing 2 changed files with 108 additions and 1 deletion.
107 changes: 106 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ respx = "^0.21.1"
ruff = "^0.5.7"
pre-commit = "3.5.0"
faker = "^28.4.1"
pytest-cov = "^5.0.0"

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

0 comments on commit 3d7ac49

Please sign in to comment.