workflows/tests: migrate from deprecated test-results-action#21815
Merged
Conversation
ZhongRuoyu
approved these changes
Mar 24, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Migrates CI test result uploads off the deprecated codecov/test-results-action by using the newer codecov/codecov-action test-results mode, and bumps Codecov action to a Node 24–compatible release.
Changes:
- Replace
codecov/test-results-actionwithcodecov/codecov-actionconfigured withreport_type: test_results. - Bump
codecov/codecov-actionfrom v5.5.2 to v5.5.3 (Node 24 support).
Comments suppressed due to low confidence (1)
.github/workflows/tests.yml:316
- Similarly, this coverage upload step runs even when tests are skipped (notably the
tests (online)matrix entry onpushevents). That can lead to a noisy Codecov no-op/error whencoverage.xmlwasn't generated. Consider adding anif:guard aligned with the test execution (or checking that the coverage file exists) so uploads only run when reports are present.
- uses: codecov/codecov-action@1af58845a975a7985b0beb0cbe6fbbb71a41dbad # v5.5.3
with:
working-directory: ${{ steps.set-up-homebrew.outputs.repository-path }}
files: Library/Homebrew/test/coverage/coverage.xml
disable_search: true
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
carlocab
approved these changes
Mar 24, 2026
p-linnane
approved these changes
Mar 24, 2026
This file contains hidden or 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
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.
It's been merged into codecov-action: https://github.com/codecov/test-results-action?tab=readme-ov-file#%EF%B8%8F-deprecation-warning-%EF%B8%8F
Also update to 5.5.3 since that's the first version with node24 support.