Skip to content

Commit

Permalink
Disable 100% code coverage requirement for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
MHendricks committed Sep 19, 2023
1 parent c89164c commit 135c820
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/static-analysis-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,15 @@ jobs:
# Write html coverage report to upload as an artifact
python -m coverage html
# Report again and fail if under 100%.
python -m coverage report --fail-under=100
# # Report again and fail if under 100%.
# python -m coverage report --fail-under=100
- name: Upload HTML report if check failed.
uses: actions/upload-artifact@v3
with:
name: html-report
path: htmlcov
if: ${{ failure() }}
# # TODO: If we get 100% coverage we can re-enable this and the
# # `--fail-under` check so pull requests fail if the dev doesn't
# # add tests for new code.
# if: ${{ failure() }}

0 comments on commit 135c820

Please sign in to comment.