Skip to content

Commit

Permalink
adds coverage and failunder to pytest command
Browse files Browse the repository at this point in the history
  • Loading branch information
fredshone committed Sep 16, 2024
1 parent 5431735 commit 0ae7a21
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ dependencies = [
'pandas',
'matplotlib',
'pytest',
'pytest-cov',
'dill',
'openpyxl',
'nrelpy',
Expand Down Expand Up @@ -66,4 +67,10 @@ doc = [
]

[tool.setuptools.packages.find]
include = ['osier']
include = ['osier']

[tool.pytest.ini_options]
addopts = "--cov"

[tool.coverage.report]
fail_under = 80

0 comments on commit 0ae7a21

Please sign in to comment.