Skip to content

Commit bc0b08a

Browse files
committed
ci: Require 90% code coverage
Primarily to catch if the coverage accidentally falls to 0%.
1 parent 7dbc6e4 commit bc0b08a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pytest.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[pytest]
2-
addopts = -v --tb=native --doctest-glob=*.md --doctest-modules --cov-report term --cov-report html --cov-report xml --cov=injector --cov-branch
2+
addopts = -v --tb=native --doctest-glob=*.md --doctest-modules --cov-report term --cov-report html --cov-report xml --cov=injector --cov-branch --cov-fail-under=90
33
norecursedirs = __pycache__ *venv* .git build

0 commit comments

Comments
 (0)