Skip to content

Commit

Permalink
ci: add codecov.yaml file (#14994)
Browse files Browse the repository at this point in the history
ref PingCAP-QE/ci#2171, close #14995

ci: add codecov.yaml file

Signed-off-by: wuhuizuo <wuhuizuo@126.com>
  • Loading branch information
wuhuizuo committed Jul 3, 2023
1 parent 425f6f2 commit f7a69f5
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
coverage:
precision: 4
round: down
range: "65...90"

status:
project:
default:
target: auto
threshold: 3% # Allow the coverage to drop by threshold %, and posting a success status.
patch:
default:
target: auto
threshold: 3%

comment:
layout: "header, diff, flags"
behavior: default
require_changes: false

flag_management:
default_rules: # the rules that will be followed for any flag added, generally
carryforward: true
statuses:
- type: project
target: 85%
- type: patch
target: 85%

ignore:
- tests/** # integration test cases or tools.
- fuzz/** # fuzz test cases or tools.

0 comments on commit f7a69f5

Please sign in to comment.