2021-10-06 07:14: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-10-19 19:10:35 +08:00
|
|
|
target: 77%
|
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:
|
2022-01-06 18:19:46 +08:00
|
|
|
target: 80% #target of patch diff
|
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"
|
2021-10-19 20:36:53 +08:00
|
|
|
- "**/*.proto"
|