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

Separate out the codecov upload to a separate job in CI #1138

Merged
merged 1 commit into from
May 14, 2024

Conversation

rosteen
Copy link
Contributor

@rosteen rosteen commented May 14, 2024

This will let us see a test failure if the coverage upload fails. Thanks to @pllim for the example.

Copy link

codecov bot commented May 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.82%. Comparing base (1a1164f) to head (50e70cf).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1138   +/-   ##
=======================================
  Coverage   86.82%   86.82%           
=======================================
  Files          63       63           
  Lines        4525     4525           
=======================================
  Hits         3929     3929           
  Misses        596      596           

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

@rosteen
Copy link
Contributor Author

rosteen commented May 14, 2024

It works, merging.

@rosteen rosteen merged commit f36fe1b into astropy:main May 14, 2024
13 checks passed
@pllim
Copy link
Member

pllim commented May 17, 2024

Over at OpenAstronomy/github-actions-workflows#199 , I found a bug in this setup where if we have two jobs that generate coverage, one will clobber the other. Since we only have one coverage job here, it doesn't matter. But if the situation change in the future, we can either switch to OpenAstronomy or I apply the same patch here. FYI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants