Skip to content

Commit

Permalink
display CI failure based on coverage (#1137)
Browse files Browse the repository at this point in the history
* force failure

* don't force failure on this command

* revert back to real coverage number
  • Loading branch information
shapiromatron authored Dec 2, 2024
1 parent 563ce6d commit ada1542
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
fi
coverage run -m pytest --record-mode=none
echo "# Python coverage report" >> $GITHUB_STEP_SUMMARY
coverage report --format=markdown >> $GITHUB_STEP_SUMMARY
coverage report --format=markdown -i >> $GITHUB_STEP_SUMMARY || true
coverage html -d coverage -i
- name: loc
run: |
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ omit = [
]

[tool.coverage.report]
fail_under=91.5
fail_under=91.8
precision=1

[tool.flit.sdist]
Expand Down

0 comments on commit ada1542

Please sign in to comment.