Pin codecov/codecov-action to v3.1.5 #7776
Merged
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.
There's a breaking change in #7770 from bumping codecov/codecov-action to v4 which affects us, requiring setting a token due to rate limiting:
https://github.com/codecov/codecov-action/releases/tag/v4.0.0
v4 doesn't need a token for PRs from forks, but does for merges. This is why coverage has dropped to ~50% for merges, because it's only recording the coverage from AppVeyor:
https://app.codecov.io/gh/python-pillow/Pillow/commits
See:
I think we should stick to v3 for a while, to see what happens.
This PR uses v3.1.5, which also bumped to Node.js 20 to fix the deprecation warnings. (v3=v3.1.6 went back down to Node.js 16.)
We could adjust the threshold for Codecov to "fail", so we don't miss huge drops like this in #7770: