Fix up + improve CI test reporting workflow #30543
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.
GitHub issued a deprecation warning for
actions/upload-artifact@v3
, so we upgraded to v4. This now uses Azure Blob Storage with SAS, which thedorny/test-reporter
action seems to not be compatible with likely because it passes theAuthorization
header that is no longer required.To fix this I've rewritten the workflow so that it uses
actions/download-artifact
to download the results, with the test reporter now running on local files.In the process I've refactored it to run once per execution which comes with the benefit of deduping annotations.
See example: https://github.com/smoogipoo/osu/actions/runs/11735233749/job/32693913350