karmada icon indicating copy to clipboard operation
karmada copied to clipboard

Upload code coverage to Codecov

Open RainbowMango opened this issue 2 years ago • 3 comments

What type of PR is this? /kind cleanup

What this PR does / why we need it: This PR enables code coverage and upload to Codecov.

Which issue(s) this PR fixes: Fixes #

Special notes for your reviewer: Refer:

  • https://github.com/codecov/codecov-action
  • Coverage Report: https://app.codecov.io/gh/karmada-io/karmada/tree/pr_upload_coverage/pkg

Does this PR introduce a user-facing change?:

NONE

RainbowMango avatar Sep 24 '22 09:09 RainbowMango

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@ed13e66). Click here to learn what that means. The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #2575   +/-   ##
=========================================
  Coverage          ?   21.83%           
=========================================
  Files             ?      183           
  Lines             ?    18350           
  Branches          ?        0           
=========================================
  Hits              ?     4007           
  Misses            ?    14035           
  Partials          ?      308           
Flag Coverage Δ
unittests 21.83% <0.00%> (?)

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

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

codecov-commenter avatar Sep 24 '22 10:09 codecov-commenter

@ikaven1024 Could you please take a look?

RainbowMango avatar Sep 26 '22 01:09 RainbowMango

/assign @XiShanYongYe-Chang

RainbowMango avatar Sep 27 '22 01:09 RainbowMango

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

karmada-bot avatar Sep 27 '22 01:09 karmada-bot

@ikaven1024 Could you please take a look?

Sorry for my late reply. I am not familiar with Codecov, and need to look into it. I will spend time leaning it.

ikaven1024 avatar Sep 27 '22 03:09 ikaven1024

/lgtm

Poor12 avatar Sep 27 '22 03:09 Poor12