1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-03-05 13:20:20 -05:00

Separate publishing of test results for PRs from forks

This commit is contained in:
Mark McDowall
2024-01-12 08:56:45 -08:00
committed by GitHub
parent b8964f8bba
commit 02e051580c
2 changed files with 27 additions and 4 deletions

View File

@@ -79,10 +79,9 @@ runs:
shell: bash
run: dotnet test ./_tests/Sonarr.*.Test.dll --filter "${{ inputs.filter }}" --logger trx --results-directory "${{ env.RESULTS_NAME }}"
- name: Publish Test Results
- name: Upload Test Results
if: ${{ !cancelled() }}
uses: phoenix-actions/test-reporting@v12
uses: actions/upload-artifact@v4
with:
name: ${{ env.RESULTS_NAME }}
name: results-${{ env.RESULTS_NAME }}
path: ${{ env.RESULTS_NAME }}/*.trx
reporter: dotnet-trx