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: switch to codecov cli on appveyor #757

Closed
wants to merge 1 commit into from
Closed

Conversation

adswa
Copy link
Member

@adswa adswa commented Sep 10, 2024

This PR replaces the macos codecov uploader that failed with a CPU mismatch with the codecov-cli, which is supposed to be a replacement. See #756 for the background exploration

@adswa adswa requested a review from mih as a code owner September 10, 2024 13:42
@adswa adswa force-pushed the codecov branch 9 times, most recently from f838099 to bd9fc7b Compare September 10, 2024 19:11
Copy link

codecov bot commented Sep 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 48.87%. Comparing base (761f232) to head (ca935d5).

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #757       +/-   ##
===========================================
- Coverage   92.19%   48.87%   -43.33%     
===========================================
  Files         185      185               
  Lines       14184    14184               
  Branches     2129     2129               
===========================================
- Hits        13077     6932     -6145     
- Misses        833     6872     +6039     
- Partials      274      380      +106     

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

@adswa adswa force-pushed the codecov branch 3 times, most recently from adc9724 to ca935d5 Compare September 11, 2024 15:48
This change replaces the legacy codecov uploader on macos with a
specific codecov-cli (the uploader's modern replacement) version that is known
to support several CPUs.
This does not solve the issue that coverage reports are not uploaded to
codecov, but it fixes the issue that the CPU mismatch caused a non-zero
exit code that would lead to a CI failure even when all tests passed.
Fixes datalad#756
@mih
Copy link
Member

mih commented Sep 22, 2024

Thanks for starting this effort. I am closing this PR now, because I have extended the approach here to all platforms in #752 and it seems to be working properly.

A token for codecov is now needed unconditionally.

@mih mih closed this Sep 22, 2024
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.

2 participants