Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use absolute path for the profile.cov #19535

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

reasonerjt
Copy link
Contributor

@reasonerjt reasonerjt commented Nov 6, 2023

There's a path change introduced by #19508 which may impact showing the coverage on codecov.
This commit makes sure the profile.cov is referenced as absolute path in coverage4gotest.sh

Thank you for contributing to Harbor!

Comprehensive Summary of your change

Issue being fixed

Fixes #(issue)

Please indicate you've done the following:

  • Well Written Title and Summary of the PR
  • Label the PR as needed. "release-note/ignore-for-release, release-note/new-feature, release-note/update, release-note/enhancement, release-note/community, release-note/breaking-change, release-note/docs, release-note/infra, release-note/deprecation"
  • Accepted the DCO. Commits without the DCO will delay acceptance.
  • Made sure tests are passing and test coverage is added if needed.
  • Considered the docs impact and opened a new docs issue or PR with docs changes if needed in website repository.

@reasonerjt reasonerjt added the release-note/ignore-for-release Do not include PR or Issue for release notes label Nov 6, 2023
@reasonerjt reasonerjt requested a review from a team as a code owner November 6, 2023 02:52
Copy link

codecov bot commented Nov 6, 2023

Codecov Report

Merging #19535 (19ecaff) into main (e1a4423) will increase coverage by 22.58%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##             main   #19535       +/-   ##
===========================================
+ Coverage   44.91%   67.50%   +22.58%     
===========================================
  Files         243      988      +745     
  Lines       13354   108777    +95423     
  Branches     2737     2737               
===========================================
+ Hits         5998    73428    +67430     
- Misses       7051    31384    +24333     
- Partials      305     3965     +3660     
Flag Coverage Δ
unittests 67.50% <ø> (+22.58%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 750 files with indirect coverage changes

There's a path change introduced by goharbor#19508 which may impact showing the
coverage on codecov.
This commit makes sure the profile.cov is referenced as absolute path in
`coverage4gotest.sh`

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
@reasonerjt reasonerjt changed the title [WIP] Use absolute path for the profile.cov Use absolute path for the profile.cov Nov 6, 2023
Copy link
Member

@chlins chlins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@chlins chlins enabled auto-merge (squash) November 6, 2023 05:44
@chlins chlins merged commit ebb2c40 into goharbor:main Nov 6, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/ignore-for-release Do not include PR or Issue for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants