Add retries and wait for secondary rate limits for publishing test re… #159
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.
…sults to github
What does this PR do?
Update
EnricoMi/publish-unit-test-result-action
to version 2. This should help with the secondary rate limit errors.What issues does this PR fix or reference?
This fixes the occasional test failures when publishing test results to github.
Example of the failure:
403 {"documentation_url": "https://docs.github.com/free-pro-team@latest/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits", "message": "You have exceeded a secondary rate limit. Please wait a few minutes before you try again. If you reach out to GitHub Support for help, please include the request ID 0400:D5008:5E2988:B581E8:66C61917."}
Previous Behavior
New Behavior
Merge requirements satisfied?
setup.py
(if appropriate).