Skip to content

Commit

Permalink
workflow: add coverage check configuration (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzengh authored Nov 1, 2023
1 parent d36d5d5 commit da0e38e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/codecov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
coverage: # https://docs.codecov.com/docs/codecovyml-reference#coverage
precision: 5
range:
- 85.0
- 90.0
status:
project:
default:
branches:
- ^main$
target: 85.0 # the minimum coverage ratio that the commit must meet to be considered a success.
threshold: 1% # allow the coverage to drop by X%, and posting a success status.

0 comments on commit da0e38e

Please sign in to comment.