Skip to content

Commit

Permalink
test(intellij): try different test report path glob to find test file…
Browse files Browse the repository at this point in the history
…s in subfolder
  • Loading branch information
chrissimon-au committed Mar 16, 2024
1 parent dd7dfcb commit b750364
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/actions/upload-reports/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,35 +15,35 @@ runs:
to-slug: ${{ inputs.name }}

- name: Upload ${{ inputs.name }} Logs
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
if: always()
with:
name: ${{ steps.name-slug.outputs.slug }}-logs-${{ env.DOTNET_VERSION }}-${{ runner.os }}
path: "**/log*.txt"
if-no-files-found: ignore

- name: Upload ${{ inputs.name }} VsCode Logs
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
if: always()
with:
name: ${{ steps.name-slug.outputs.slug }}-vscode-logs-${{ env.DOTNET_VERSION }}-${{ runner.os }}
path: "**/user-data/logs/**/output_logging*/*"
if-no-files-found: ignore

- name: Upload ${{ inputs.name }} Test Report
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
if: always()
with:
name: ${{ steps.name-slug.outputs.slug }}-test-results-net${{ env.DOTNET_VERSION }}-${{ runner.os }}
path: "**/(TestResults|test-results)/*.xml"
path: "**/(TestResults|test-results)/**/*.xml"


- name: Create ${{ inputs.name }}Test Report Check
uses: dorny/test-reporter@v1
if: always()
with:
name: ${{ inputs.name }} Tests (net${{ env.DOTNET_VERSION }} - ${{ runner.os }})
path: "**/(TestResults|test-results)/*.xml"
path: "**/(TestResults|test-results)/**/*.xml"
reporter: ${{ inputs.reporter }}


Expand Down

0 comments on commit b750364

Please sign in to comment.