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

Fix codecov upload #668

Conversation

RemDelaporteMathurin
Copy link
Collaborator

@RemDelaporteMathurin RemDelaporteMathurin commented Dec 12, 2023

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

Copy link

codecov bot commented Dec 12, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d601d06) 98.87% compared to head (a89b383) 99.19%.
Report is 63 commits behind head on fenicsx.

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.
📢 Have feedback on the report? Share it here.

@RemDelaporteMathurin RemDelaporteMathurin changed the title Test codecov upload Fix codecov upload Dec 12, 2023
@RemDelaporteMathurin RemDelaporteMathurin marked this pull request as ready for review December 12, 2023 17:42
@RemDelaporteMathurin RemDelaporteMathurin added the fenicsx Issue that is related to the fenicsx support label Dec 12, 2023
Copy link
Collaborator

@jhdark jhdark left a 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

@RemDelaporteMathurin
Copy link
Collaborator Author

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...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fenicsx Issue that is related to the fenicsx support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants