Skip to content

Commit 601c7bd

Browse files
committed
build: Fail pytest under 100 coverage
#20 Branch: FixCI-20 Signed-off-by: Gabe Goodhart <ghart@us.ibm.com> AI-usage: none
1 parent 443653b commit 601c7bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ plugins = ["pydantic.mypy"] # Enable mypy plugin for Pydantic model
342342

343343
[tool.pytest.ini_options]
344344
minversion = "6.0"
345-
addopts = "-ra --cov=cforge --cov-report=html:htmlcov --cov-report=term"
345+
addopts = "-ra --cov=cforge --cov-report=html:htmlcov --cov-report=term --cov-fail-under=100"
346346
testpaths = [ "tests",]
347347
filterwarnings = [
348348
"error", # Turn ALL warnings into errors by default

0 commit comments

Comments
 (0)