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

ci: merge Go coverage reports before upload #10666

Merged
merged 1 commit into from
Jun 8, 2023
Merged

ci: merge Go coverage reports before upload #10666

merged 1 commit into from
Jun 8, 2023

Conversation

milas
Copy link
Contributor

@milas milas commented Jun 7, 2023

What I did
Attempt to fix the state of codecov action checks right now, which are behaving very erratically.

Using the new functionality in Go 1.20 to merge multiple reports, so now the unit & E2E coverage data reports are stored as artifacts and then downloaded, merged, and finally uploaded to codecov as a new job.

(not mandatory) A picture of a cute animal, if possible in relation to what you did
starfish

@milas milas requested a review from a team June 7, 2023 14:33
@milas milas self-assigned this Jun 7, 2023
@milas milas requested review from nicksieger, ndeloof, StefanScherer, ulyssessouza, glours and laurazard and removed request for a team June 7, 2023 14:33
@ndeloof
Copy link
Contributor

ndeloof commented Jun 7, 2023

nice!

Copy link
Contributor

@glours glours left a comment

Choose a reason for hiding this comment

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

Ho yeah!! Thanks @milas

@milas milas force-pushed the codecov branch 2 times, most recently from 06eb3c9 to eb331b9 Compare June 7, 2023 18:02
@codecov
Copy link

codecov bot commented Jun 8, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.01 🎉

Comparison is base (32cf776) 59.70% compared to head (a5f66db) 59.71%.

❗ Current head a5f66db differs from pull request most recent head d4c117e. Consider uploading reports for the commit d4c117e to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##               v2   #10666      +/-   ##
==========================================
+ Coverage   59.70%   59.71%   +0.01%     
==========================================
  Files         107      107              
  Lines        9515     9515              
==========================================
+ Hits         5681     5682       +1     
+ Misses       3253     3252       -1     
  Partials      581      581              

see 4 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Attempting to fix the state of codecov action checks right now,
which are behaving very erratically.

Using the new functionality in Go 1.20 to merge multiple reports,
so now the unit & E2E coverage data reports are stored as artifacts
and then downloaded, merged, and finally uploaded to codecov as a
new job.

Additionally, add a `codecov.yml` config and try to turn down the
aggressiveness of it for CI checks.

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
@milas milas merged commit e63ab14 into docker:v2 Jun 8, 2023
25 checks passed
@milas milas deleted the codecov branch June 8, 2023 18:58
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.

None yet

3 participants