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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: make codecov report to work on jobs re-run #5991
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
leio10
force-pushed
the
fix/codecov-report-on-rerun
branch
2 times, most recently
from
April 15, 2020 17:10
ad89b82
to
ea158f5
Compare
mrcasals
previously approved these changes
Apr 16, 2020
leio10
force-pushed
the
fix/codecov-report-on-rerun
branch
from
April 16, 2020 08:25
ea158f5
to
f58848f
Compare
leio10
force-pushed
the
fix/codecov-report-on-rerun
branch
from
April 16, 2020 08:26
f58848f
to
1c2574a
Compare
mrcasals
previously approved these changes
Apr 16, 2020
mrcasals
previously approved these changes
Apr 16, 2020
mrcasals
approved these changes
Apr 16, 2020
5 tasks
Hi @decidim/core! This PR fixes an issue on coverage uploads to Codecov. There's more information on #5954, which tried to fix the same issue but I didn't get enough success. Can you review this PR please? 馃槃 |
agustibr
approved these changes
Apr 17, 2020
mrcasals
approved these changes
Apr 17, 2020
3 tasks
@tramuntanal could you review this please? 馃槃 We keep hiting the same problem on different PRs... 馃槥 |
tramuntanal
approved these changes
Apr 23, 2020
faithngetich
pushed a commit
to faithngetich/decidim
that referenced
this pull request
Apr 28, 2020
* Use codecov bash uploader instead of gh action * fix: replace + with coalesce operator (//) * fix: remove extra character added by mistake
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
馃帺 What? Why?
Github Actions env variables differ when a check is triggered by different events. This makes the coverage report upload process to fail when a developer forces to re-run a job, as the event is
check_run
instead ofpull_request
.This PR replaces the codecov's github action with a direct call to the Codecov bash script, customizing the parameters used (commit SHA and PR identifier) with information extracted directly from the workflow payload, regardless of the event that triggered it. The created script uses
jq
queries to recover the information from the workflow payload and supports thepull_request
,push
andcheck_run
events.馃搶 Related Issues
馃搵 Subtasks
CHANGELOG
entry馃摲 Screenshots (optional)