forked from erda-project/erda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
codecov.yml
49 lines (45 loc) · 1.14 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
codecov:
require_ci_to_pass: false
notify:
wait_for_ci: false
comment: # this is a top-level key
layout: "reach, diff, flags, files"
behavior: default
require_changes: false # if true: only post the comment if coverage changes
require_base: false # [yes :: must have a base report to post]
require_head: false # [yes :: must have a head report to post]
# branches: # branch names that can post comment
coverage:
precision: 2
round: down
range: "60...100"
status:
project:
default:
# basic
target: 10%
threshold: 0%
base: auto
if_ci_failed: error
informational: false
only_pulls: false
patch:
default:
# basic
target: auto
threshold: 0%
base: auto
if_ci_failed: error
only_pulls: false
github_checks:
annotations: true
ignore:
# ignore the boilerplate code
- "internal/**/conf"
- "internal/**/dbclient"
- "internal/**/dao"
- "bundle"
- "api/proto-go"
- "internal/tools/openapi/legacy/api/apis/**/*.go"
- "**/*_mock.go"
- "internal/**/openapi/legacy/api/apis/**/*.go"