2021-08-18 14:48:11 +08:00
|
|
|
#Configuration File for CodeCov
|
2021-08-19 15:50:12 +08:00
|
|
|
codecov:
|
|
|
|
notify:
|
|
|
|
require_ci_to_pass: yes
|
|
|
|
|
2021-08-17 11:56:11 +08:00
|
|
|
coverage:
|
2021-08-18 14:48:11 +08:00
|
|
|
precision: 2
|
|
|
|
round: down
|
|
|
|
range: "70...100"
|
|
|
|
|
2021-08-17 11:56:11 +08:00
|
|
|
status:
|
|
|
|
project:
|
|
|
|
default:
|
2021-09-14 19:35:49 +08:00
|
|
|
target: 80%
|
2021-08-18 14:48:11 +08:00
|
|
|
threshold: 0% #Allow the coverage to drop by threshold%, and posting a success status.
|
2021-08-17 11:56:11 +08:00
|
|
|
branches:
|
|
|
|
- master
|
2021-08-18 14:48:11 +08:00
|
|
|
patch:
|
|
|
|
default:
|
2021-09-14 19:35:49 +08:00
|
|
|
target: 80%
|
2021-08-17 11:56:11 +08:00
|
|
|
threshold: 0%
|
|
|
|
branches:
|
|
|
|
- master
|
2021-08-19 15:50:12 +08:00
|
|
|
if_ci_failed: error #success, failure, error, ignore
|
2021-08-18 14:48:11 +08:00
|
|
|
|
|
|
|
comment:
|
|
|
|
layout: "reach, diff, flags, files"
|
|
|
|
behavior: default
|
|
|
|
require_changes: false
|
|
|
|
branches: # branch names that can post comment
|
|
|
|
- master
|
|
|
|
|
|
|
|
ignore:
|
|
|
|
- "LICENSES"
|
|
|
|
- ".git"
|
|
|
|
- "*.yml"
|
|
|
|
- "*.md"
|
|
|
|
- "docs/.*"
|
2021-08-25 18:05:52 +08:00
|
|
|
- "**/*.pb.go"
|