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

chore(*) upload coverage data to codecov #2212

Merged
merged 1 commit into from
Jun 25, 2021
Merged

chore(*) upload coverage data to codecov #2212

merged 1 commit into from
Jun 25, 2021

Conversation

jpeach
Copy link
Contributor

@jpeach jpeach commented Jun 24, 2021

Summary

Upload coverage data in the integration test job.

There's a little subtlety here that we may want to clean up. Since codecov stores coverage data for comparison, we want the comparison base to be consistent. However, the integration job takes the test targets as parameters, so for the kuma-commit workflow we will get coverage for both "integration" and "test" targets, but for kuma-master and kuma-release workflows the coverage for the "test" target will be omitted.

Since the integration job looks like a superset of the test job, we could just combine these into the same job. We need the "test" target for coverage since that's the only thing that crosses module boundaries.

Full changelog

N/A

Issues resolved

Fix #2058

Documentation

N/A

Testing

Checked out the codecov comments below.

@codecov-commenter
Copy link

codecov-commenter commented Jun 25, 2021

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #2212   +/-   ##
=========================================
  Coverage          ?   15.34%           
=========================================
  Files             ?       45           
  Lines             ?     6320           
  Branches          ?        0           
=========================================
  Hits              ?      970           
  Misses            ?     5270           
  Partials          ?       80           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0350974...bfd3bee. Read the comment docs.

@jpeach jpeach marked this pull request as ready for review June 25, 2021 01:28
@jpeach jpeach requested a review from a team as a code owner June 25, 2021 01:28
@jpeach jpeach changed the title WIP: push codecov chore(*) upload coverage data to codecov Jun 25, 2021
After integration tests are successful, upload test coverage
data to codecov.io.

This fixes #2058

Signed-off-by: James Peach <james.peach@konghq.com>
Copy link
Contributor

@bartsmykla bartsmykla left a comment

Choose a reason for hiding this comment

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

lgtm

@jpeach jpeach merged commit 63f24e3 into kumahq:master Jun 25, 2021
@jpeach jpeach deleted the core/ci-enable-codecov branch June 25, 2021 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CI: add codecov Github App
3 participants