Skip to content

Commit

Permalink
Increase minimum test coverage percentage and fail docs build if warn…
Browse files Browse the repository at this point in the history
…ing emitted.
  • Loading branch information
domdfcoding committed Oct 16, 2024
1 parent e17e06b commit 9c142a3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs_test_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jobs:
with:
pre-build-command: python -m pip install tox
docs-folder: "doc-source/"
build-command: "tox -e docs -- "
build-command: "tox -e docs -- -W "
1 change: 1 addition & 0 deletions formate.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ known_third_party = [
"handy_archives",
"importlib_metadata",
"mkrecipe",
"packaging",
"pyproject_parser",
"pytest",
"pytest_cov",
Expand Down
4 changes: 2 additions & 2 deletions repo_helper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ license: 'MIT'
short_desc: 'Whey extension for creating Conda packages for Python projects.'

python_deploy_version: 3.6
#min_coverage: 90
#docs_fail_on_warning: true
min_coverage: 90
docs_fail_on_warning: true
sphinx_html_theme: furo
use_whey: true

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ unused-arguments-ignore-variadic-names = True
plugins = coverage_pyver_pragma
[coverage:report]
fail_under = 80
fail_under = 90
show_missing = True
exclude_lines =
raise AssertionError
Expand Down

0 comments on commit 9c142a3

Please sign in to comment.