mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-23 02:35:17 +01:00
db4906c943
Referring https://docs.codecov.io/docs/fixing-paths , this commit fixes the path to make sure the coverage changes can be viewed on codecov's dashboard. Signed-off-by: Daniel Jiang <jiangd@vmware.com>
37 lines
579 B
YAML
37 lines
579 B
YAML
codecov:
|
|
require_ci_to_pass: no
|
|
bot: steven-zou
|
|
token: 7ec086ae-1431-4be8-af00-b95206144799
|
|
|
|
coverage:
|
|
precision: 2
|
|
round: down
|
|
range: "50...100"
|
|
|
|
status:
|
|
project: yes
|
|
patch: yes
|
|
changes: no
|
|
|
|
parsers:
|
|
gcov:
|
|
branch_detection:
|
|
conditional: yes
|
|
loop: yes
|
|
method: no
|
|
macro: no
|
|
|
|
fixes:
|
|
- "src/github.com/goharbor/harbor/src/::src/"
|
|
|
|
comment:
|
|
layout: "reach,diff,flags,tree"
|
|
behavior: default
|
|
require_changes: no
|
|
|
|
ignore:
|
|
- "src/vendor"
|
|
- "src/testing"
|
|
- "src/server/v2.0/restapi/**/*"
|
|
- "src/server/v2.0/models"
|