-
Notifications
You must be signed in to change notification settings - Fork 24
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
Fix codecov upload #668
Fix codecov upload #668
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## fenicsx #668 +/- ##
===========================================
+ Coverage 98.87% 99.19% +0.32%
===========================================
Files 23 24 +1
Lines 974 1245 +271
===========================================
+ Hits 963 1235 +272
+ Misses 11 10 -1 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice little fix, looks good to me
Well it didn't fix it correctly since it still seems to fail (just look at the last commit it started not finding the token again...) |
This PR fixes the upload to codecov which randomely failed.
After a long discussion with the codecov team codecov/feedback#180 we found out that the problem was that the CODECOV_TOKEN secret wasn't passed correctly.
The solution was to define the secret at the job level and not at the step level.
I reported this bug to Github https://github.com/orgs/community/discussions/78847
NOTE: a similar change will have to be done on the main branch