1
0
mirror of https://github.com/goharbor/harbor.git synced 2026-10-23 10:08:57 +03:00
Files
harbor/codecov.yml
Wang Yan 18a8b1c700 fix codecov issue (#22922)
per the failure message for the codecov server, it needs to add the tk to upload the results file.

Error Msg: Upload failed: {"message":"Token required because branch is protected"}

Signed-off-by: wang yan <yan-yw.wang@broadcom.com>
Co-authored-by: wang yan <yan-yw.wang@broadcom.com>
2026-03-04 21:39:30 +08:00

36 lines
533 B
YAML

codecov:
require_ci_to_pass: no
bot: steven-zou
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"