forked from pingcap/tidb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.codecov.yml
90 lines (80 loc) · 2.08 KB
/
.codecov.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
codecov:
require_ci_to_pass: no
notify:
wait_for_ci: no
coverage:
precision: 4
round: down
range: "65...90"
# status:
# project:
# default:
# threshold: 0.2 #Allow the coverage to drop by threshold%, and posting a success status.
# patch:
# default:
# target: 0% # trial operation
# Ref: https://docs.codecov.com/docs/commit-status#disabling-a-status
status:
project: off # disable it
patch: off # disable it
changes: no
# Ref: https://docs.codecov.com/docs/github-checks#disabling-github-checks-completely-via-yaml
github_checks: false
parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no
comment:
layout: "header, diff, flags, components"
behavior: default
require_changes: no
component_management:
default_rules: # default rules that will be inherited by all components
statuses:
- type: project # in this case every component that doens't have a status defined will have a project type one
target: auto
individual_components:
- component_id: component_dumpling # this is an identifier that should not be changed
name: dumpling # this is a display name, and can be changed freely
paths:
- dumpling/**
- component_id: component_parser
name: parser
paths:
- parser/**
- component_id: component_br
name: br
paths:
- br/**
# more components.
flag_management:
default_rules: # the rules that will be followed for any flag added, generally
carryforward: true
statuses:
- type: project
target: auto
- type: patch
target: 85%
ignore:
- "LICENSES"
- "*_test.go"
- ".git"
- "*.yml"
- "*.md"
- "cmd/.*"
- "docs/.*"
- "vendor/.*"
- "ddl/failtest/.*"
- "ddl/testutil/.*"
- "executor/seqtest/.*"
- "metrics/.*"
- "expression/generator/.*"
- "br/pkg/mock/.*"
- "testkit/.*"
- "server/internal/testutil/.*"
- "statistics/handle/cache/internal/testutil/.*"
- "session/testutil.go"
- "store/mockstore/unistore/testutil.go"