diff --git a/.github/actions/test/action.yml b/.github/actions/test/action.yml index e7db4c018..bd62f4830 100644 --- a/.github/actions/test/action.yml +++ b/.github/actions/test/action.yml @@ -77,7 +77,7 @@ runs: - name: Run tests shell: bash - run: dotnet test ./_tests/Sonarr.*.Test.dll --filter "${{ inputs.filter }}" --logger "trx;LogFileName=${{ env.RESULTS_NAME }}.trx" + run: dotnet test ./_tests/Sonarr.*.Test.dll --filter "${{ inputs.filter }}" --logger "trx;LogFileName=${{ env.RESULTS_NAME }}.trx" --logger "GitHubActions;summary.includePassedTests=true;summary.includeSkippedTests=true" - name: Upload Test Results if: ${{ !cancelled() }} @@ -85,12 +85,3 @@ runs: with: name: results-${{ env.RESULTS_NAME }} path: TestResults/*.trx - - - name: Publish Test Results - uses: phoenix-actions/test-reporting@v12 - with: - name: Test Results - output-to: step-summary - path: '*.trx' - reporter: dotnet-trx - working-directory: TestResults diff --git a/.github/workflows/publish-test-results.yml b/.github/workflows/publish-test-results.yml deleted file mode 100644 index e5ca89a73..000000000 --- a/.github/workflows/publish-test-results.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: Publish Test Results - -on: - workflow_run: - workflows: ['Build'] - types: - - completed - -permissions: - contents: read - actions: read - checks: write - -jobs: - report: - if: ${{ github.event.workflow_run.conclusion != 'skipped' && github.event.workflow_run.conclusion != 'cancelled' }} - runs-on: ubuntu-latest - steps: - - name: Check out - uses: actions/checkout@v4 - - - name: Download Test Reports - uses: actions/download-artifact@v4 - with: - path: test-results - pattern: results-* - merge-multiple: true - repository: ${{ github.event.repository.owner.login }}/${{ github.event.repository.name }} - run-id: ${{ github.event.workflow_run.id }} - github-token: ${{ secrets.GITHUB_TOKEN }} - - - name: Publish Test Results - uses: phoenix-actions/test-reporting@v12 - with: - list-suites: failed - list-tests: failed - name: Test Results - only-summary: true - path: '*.trx' - reporter: dotnet-trx - working-directory: test-results diff --git a/src/NzbDrone.Api.Test/Sonarr.Api.Test.csproj b/src/NzbDrone.Api.Test/Sonarr.Api.Test.csproj index b7755139a..053b42cc9 100644 --- a/src/NzbDrone.Api.Test/Sonarr.Api.Test.csproj +++ b/src/NzbDrone.Api.Test/Sonarr.Api.Test.csproj @@ -3,6 +3,7 @@ net6.0 + diff --git a/src/NzbDrone.Automation.Test/Sonarr.Automation.Test.csproj b/src/NzbDrone.Automation.Test/Sonarr.Automation.Test.csproj index 106e06954..9cf833789 100644 --- a/src/NzbDrone.Automation.Test/Sonarr.Automation.Test.csproj +++ b/src/NzbDrone.Automation.Test/Sonarr.Automation.Test.csproj @@ -3,6 +3,7 @@ net6.0 + diff --git a/src/NzbDrone.Common.Test/Sonarr.Common.Test.csproj b/src/NzbDrone.Common.Test/Sonarr.Common.Test.csproj index 0c42e8606..402cae2bf 100644 --- a/src/NzbDrone.Common.Test/Sonarr.Common.Test.csproj +++ b/src/NzbDrone.Common.Test/Sonarr.Common.Test.csproj @@ -2,6 +2,9 @@ net6.0 + + + diff --git a/src/NzbDrone.Core.Test/Sonarr.Core.Test.csproj b/src/NzbDrone.Core.Test/Sonarr.Core.Test.csproj index 4d510b27e..6a1477da4 100644 --- a/src/NzbDrone.Core.Test/Sonarr.Core.Test.csproj +++ b/src/NzbDrone.Core.Test/Sonarr.Core.Test.csproj @@ -4,6 +4,7 @@ + diff --git a/src/NzbDrone.Host.Test/Sonarr.Host.Test.csproj b/src/NzbDrone.Host.Test/Sonarr.Host.Test.csproj index de5add8a7..00783be18 100644 --- a/src/NzbDrone.Host.Test/Sonarr.Host.Test.csproj +++ b/src/NzbDrone.Host.Test/Sonarr.Host.Test.csproj @@ -2,6 +2,9 @@ net6.0 + + + diff --git a/src/NzbDrone.Integration.Test/Sonarr.Integration.Test.csproj b/src/NzbDrone.Integration.Test/Sonarr.Integration.Test.csproj index 79c596097..b78253880 100644 --- a/src/NzbDrone.Integration.Test/Sonarr.Integration.Test.csproj +++ b/src/NzbDrone.Integration.Test/Sonarr.Integration.Test.csproj @@ -4,6 +4,7 @@ Library + diff --git a/src/NzbDrone.Libraries.Test/Sonarr.Libraries.Test.csproj b/src/NzbDrone.Libraries.Test/Sonarr.Libraries.Test.csproj index 2c8b3456a..511c54cba 100644 --- a/src/NzbDrone.Libraries.Test/Sonarr.Libraries.Test.csproj +++ b/src/NzbDrone.Libraries.Test/Sonarr.Libraries.Test.csproj @@ -2,6 +2,9 @@ net6.0 + + + diff --git a/src/NzbDrone.Mono.Test/Sonarr.Mono.Test.csproj b/src/NzbDrone.Mono.Test/Sonarr.Mono.Test.csproj index 2660db2e4..60c6f901c 100644 --- a/src/NzbDrone.Mono.Test/Sonarr.Mono.Test.csproj +++ b/src/NzbDrone.Mono.Test/Sonarr.Mono.Test.csproj @@ -7,6 +7,7 @@ See https://github.com/xamarin/XamarinComponents/issues/282 --> + diff --git a/src/NzbDrone.Update.Test/Sonarr.Update.Test.csproj b/src/NzbDrone.Update.Test/Sonarr.Update.Test.csproj index c56dc9b98..5b4d7dfd7 100644 --- a/src/NzbDrone.Update.Test/Sonarr.Update.Test.csproj +++ b/src/NzbDrone.Update.Test/Sonarr.Update.Test.csproj @@ -2,6 +2,9 @@ net6.0 + + + diff --git a/src/NzbDrone.Windows.Test/Sonarr.Windows.Test.csproj b/src/NzbDrone.Windows.Test/Sonarr.Windows.Test.csproj index 522bcf4fc..15bcf5d51 100644 --- a/src/NzbDrone.Windows.Test/Sonarr.Windows.Test.csproj +++ b/src/NzbDrone.Windows.Test/Sonarr.Windows.Test.csproj @@ -2,6 +2,9 @@ net6.0 + + +