Skip to content

Commit

Permalink
create annotation if coverage is below 90&
Browse files Browse the repository at this point in the history
  • Loading branch information
georgemccabe committed Oct 27, 2023
1 parent dfdbc79 commit e28e84d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ jobs:
METPLUS_TEST_OUTPUT_BASE: ${{ runner.workspace }}/pytest_output
- name: Generate coverage report
run: |
coverage report -m --fail-under=95 || echo "::error file=coverage,line=1,col=1::Code coverage is below 90%"
coverage report -m --fail-under=90 || echo "::error file=coverage,line=1,col=1::Code coverage is below 90%"
if: always()
continue-on-error: true
- name: Run Coveralls
Expand Down

0 comments on commit e28e84d

Please sign in to comment.