diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4d28a579bf77d..f6b6eddc451b7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -356,6 +356,19 @@ jobs: HOMEBREW_BUILDPULSE_ACCOUNT_ID: 1503512 HOMEBREW_BUILDPULSE_REPOSITORY_ID: 53238813 + - id: junit_xml + run: | + cd "${{ steps.set-up-homebrew.outputs.repository-path }}" + filenames=$(ls test/junit/rspec*.xml | tr '\n' ',') + echo "filenames=${filenames%,}" >> "$GITHUB_OUTPUT" + + - uses: codecov/test-results-action@v1 + with: + working-directory: ${{ steps.set-up-homebrew.outputs.repository-path }} + files: ${{ steps.junit_xml.outputs.filenames }} + disable_search: true + token: ${{ secrets.CODECOV_TOKEN }} + - uses: codecov/codecov-action@015f24e6818733317a2da2edd6290ab26238649a # v5.0.7 with: working-directory: ${{ steps.set-up-homebrew.outputs.repository-path }}