2021-10-06 07:14:11 +08:00
|
|
|
# Configuration File for CodeCov
|
2021-08-19 15:50:12 +08:00
|
|
|
codecov:
|
2022-02-18 18:29:50 +08:00
|
|
|
require_ci_to_pass: no
|
2021-08-19 15:50:12 +08:00
|
|
|
notify:
|
2022-02-18 18:29:50 +08:00
|
|
|
require_ci_to_pass: no
|
|
|
|
wait_for_ci: false
|
|
|
|
ci:
|
|
|
|
- jenkins.milvus.io:18080
|
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.
|
|
|
|
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%
|
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"
|
2022-08-11 12:12:38 +08:00
|
|
|
- "internal/metastore/db/dbmodel/mocks/.*"
|
2022-11-30 13:57:15 +08:00
|
|
|
- "**/mock_*.go"
|
2022-09-16 11:32:48 +08:00
|
|
|
|
|
|
|
|
2022-02-18 18:29:50 +08:00
|
|
|
|