Skip to content

Commit

Permalink
ci: add configuration fileds to codecov.yaml (tikv#6666)
Browse files Browse the repository at this point in the history
ref PingCAP-QE/ci#2171, close tikv#6667

ci: add configuration fileds to codecov.yaml

- `ignore`: ignore integration test cases or tools paths.
- `flags`: to split static for unit and integration testing.
- `comment`: add `flags` section in comments.

Signed-off-by: wuhuizuo <[email protected]>
  • Loading branch information
wuhuizuo committed Jul 3, 2023
1 parent 53d5a92 commit 626d1c8
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,20 @@ coverage:
# basic
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.

0 comments on commit 626d1c8

Please sign in to comment.