Skip to content

Commit

Permalink
ci: Fix test reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
kf6kjg committed Jun 9, 2021
1 parent 3276883 commit 0b29d82
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/test-report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,17 @@ jobs:
# Would be easy to add to the [downloadArtifact method](https://github.com/actions/toolkit/blob/main/packages/artifact/src/internal/artifact-client.ts#L132) and thus expose to the action.
# But I'm not motifcated enough to push that through right now.
# name: /test-results_(.*)/
commit: ${{ github.workflow_run.head_sha }}
workflow_conclusion: completed
workflow: ci.yml
workflow: ci.yaml

- name: Move files
run: |
for folder in test-results_*; do
mv "$folder/TestResult.xml" "$folder.xml"
rmdir "$folder"
done
shell: bash

- name: Install NUnit
run: |
Expand All @@ -48,7 +57,6 @@ jobs:

- uses: dorny/[email protected]
with:
# artifact: /test-results_(.*)/
name: "NUnit tests for $1"
path: "*_junit.xml"
reporter: jest-junit

0 comments on commit 0b29d82

Please sign in to comment.