Skip to content

Commit

Permalink
add coverage check configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzengh committed Oct 30, 2023
1 parent 5813d8c commit 5d4ae8c
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/codecov.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
comment:
layout: "reach,diff,flags,tree"
behavior: default
require_changes: false
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 5d4ae8c

Please sign in to comment.