Skip to content

Commit

Permalink
Merge pull request #18961 from Homebrew/rspec_junit_filenames
Browse files Browse the repository at this point in the history
workflows/tests: fix RSpec JUnit XML filenames.
  • Loading branch information
MikeMcQuaid authored Dec 20, 2024
2 parents 019bde8 + afdaa20 commit 640175e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -353,11 +353,12 @@ jobs:
HOMEBREW_BUILDPULSE_ACCOUNT_ID: 1503512
HOMEBREW_BUILDPULSE_REPOSITORY_ID: 53238813

- id: junit_xml
- name: Get RSpec JUnit XML filenames
id: junit_xml
working-directory: ${{ steps.set-up-homebrew.outputs.repository-path }}
run: |
mkdir -p test/junit
filenames=$(find test/junit -name 'rspec*.xml' -print | tr '\n' ',')
mkdir -p Library/Homebrew/test/junit
filenames=$(find Library/Homebrew/test/junit -name 'rspec*.xml' -print | tr '\n' ',')
echo "filenames=${filenames%,}" >> "$GITHUB_OUTPUT"
- uses: codecov/test-results-action@9739113ad922ea0a9abb4b2c0f8bf6a4aa8ef820 # v1.0.1
Expand Down

0 comments on commit 640175e

Please sign in to comment.