Use Codecov bash because the Action times out on macOS #4444
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.
Changes proposed in this pull request:
Recently, the Codecov Action for uploading coverage has been timing out after about 12 minutes on macOS. Most recent master build:
https://github.com/python-pillow/Pillow/runs/461238759?check_suite_focus=true
This may account for the "failing" +- check on PRs (eg. #4404):
Plus the lack of
GHA_macOS
flag on files:https://codecov.io/gh/python-pillow/Pillow/src/a8c07941074a16ee06879071f42ea5b624210f5f/src/PIL/BdfFontFile.py
Switching to the Codecov bash uploader fixes it, uploads coverage in 7s:
And shows the flag:
https://codecov.io/gh/hugovk/Pillow/src/3218cf8afe4e7d102a62dcfd82d4562807cad274/src/PIL/BdfFontFile.py
I've not reported this to Codecov, and didn't find it in their issue tracker or on the forum, but they often suggest to people to try the bash uploader if they have problems with the Action or Python client, as the bash client is their main cross-platform tool with the most maintenance.