Skip to content

Commit

Permalink
Add coverage configuration to pyproject.toml
Browse files Browse the repository at this point in the history
- Report coverage information only for codebasin/ files.
- Report missing lines as well as coverage percentage.

Signed-off-by: John Pennycook <[email protected]>
  • Loading branch information
Pennycook committed Sep 6, 2024
1 parent 85942ea commit 115301d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,10 @@ include = ["codebasin*"]

[tool.setuptools.dynamic]
readme = {file = ["README.md"]}

[tool.coverage.run]
command_line = "-m unittest"
source = ["codebasin"]

[tool.coverage.report]
show_missing = true

0 comments on commit 115301d

Please sign in to comment.