forked from zilliztech/milvus-cdc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
codecov.yml
45 lines (41 loc) · 842 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
45
#Configuration File for CodeCov
codecov:
notify:
require_ci_to_pass: false
coverage:
precision: 2
round: down
range: "70...100"
status:
project:
default:
threshold: 80% #Allow the coverage to drop by threshold%, and posting a success status.
branches:
- main
patch:
default:
target: 80%
threshold: 0%
branches:
- main
if_ci_failed: error #success, failure, error, ignore
comment:
layout: "reach, diff, flags, files"
behavior: default
require_changes: false
branches: # branch names that can post comment
- main
ignore:
- "LICENSES"
- ".git"
- "*.yml"
- "*.md"
- "docs/.*"
- "**/*.pb.go"
- "examples/*"
- "tests/*"
- "**/mocks/*"
- "*_gen.go"
- "server/main/*"
- "server/tool/*"
- "server/configs/*"