forked from erda-project/erda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
codecov.yml
44 lines (40 loc) · 1018 Bytes
/
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
codecov:
require_ci_to_pass: yes
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: no # [yes :: must have a base report to post]
require_head: yes # [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
- "modules/*/conf"
- "modules/*/dbclient"
- "modules/*/dao"
- "bundle"
- "api/proto-go"