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: Updated codecov action sha to post coverage from forks. Added flag to fail ci if it fails to upload report #2490

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

bizob2828
Copy link
Member

@bizob2828 bizob2828 commented Aug 19, 2024

Description

We were pinning the codecov-action to a sha that no longer works for posting coverage on PRs. I also enabled fail_ci_if_error: true to fail CI so we can catch issues in the future. This PR won't exercise the upload but I did have a past run that tested it here

How to Test

Please describe how you have tested these changes. Have you run the code against an example application?
What steps did you take to ensure that the changes are working correctly?

Related Issues

Closes #2485

@bizob2828 bizob2828 force-pushed the fork-pr branch 2 times, most recently from 2c0e344 to 5d3e4e7 Compare August 19, 2024 15:43
Copy link

codecov bot commented Aug 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.69%. Comparing base (0c2ee2f) to head (5d3e4e7).
Report is 1 commits behind head on main.

❗ There is a different number of reports uploaded between BASE (0c2ee2f) and HEAD (5d3e4e7). Click for more details.

HEAD has 3 uploads less than BASE
Flag BASE (0c2ee2f) HEAD (5d3e4e7)
versioned-tests-18.x 1 0
versioned-tests-22.x 1 0
versioned-tests-20.x 1 0
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2490      +/-   ##
==========================================
- Coverage   96.20%   88.69%   -7.51%     
==========================================
  Files         288      270      -18     
  Lines       45305    43834    -1471     
==========================================
- Hits        43586    38879    -4707     
- Misses       1719     4955    +3236     
Flag Coverage Δ
unit-tests-18.x 88.67% <ø> (ø)
unit-tests-20.x 88.67% <ø> (ø)
unit-tests-22.x 88.67% <ø> (ø)
versioned-tests-18.x ?
versioned-tests-20.x ?
versioned-tests-22.x ?

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bizob2828 bizob2828 force-pushed the fork-pr branch 3 times, most recently from a60b286 to a1ffe71 Compare August 19, 2024 16:00
@bizob2828 bizob2828 changed the title ci: Opening PR to test codecov ci: Updated codecov action sha to post coverage from forks. Added flag to fail ci if it fails to upload report Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev:automation Indicates CI automation
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Fix codecov uploader
3 participants