Skip to content

Commit

Permalink
Merge pull request #68 from fredshone/coverage
Browse files Browse the repository at this point in the history
adds coverage and failunder to pytest command
  • Loading branch information
samgdotson authored Sep 23, 2024
2 parents 5431735 + 1e43c91 commit 7e6481e
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=osier tests"

[tool.coverage.report]
fail_under = 75

0 comments on commit 7e6481e

Please sign in to comment.