Fix path in code cov (#13261)

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>
This commit is contained in:
Daniel Jiang 2020-10-15 10:34:52 +08:00 committed by GitHub
parent cdd0eee2d4
commit db4906c943
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,9 @@ parsers:
method: no
macro: no
fixes:
- "src/github.com/goharbor/harbor/src/::src/"
comment:
layout: "reach,diff,flags,tree"
behavior: default
@ -29,5 +32,5 @@ comment:
ignore:
- "src/vendor"
- "src/testing"
- "src/github.com/goharbor/harbor/src/server/v2.0/restapi/**/*"
- "src/github.com/goharbor/harbor/src/server/v2.0/models"
- "src/server/v2.0/restapi/**/*"
- "src/server/v2.0/models"