From 118279892973988569c9c96a3fbdf0ac7cce7623 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Fri, 12 Jan 2024 16:34:37 -0800 Subject: [PATCH] Actually run Windows integration tests --- .github/actions/test/action.yml | 7 +++++++ .github/workflows/build.yml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/actions/test/action.yml b/.github/actions/test/action.yml index 447f60975..4dc7afe30 100644 --- a/.github/actions/test/action.yml +++ b/.github/actions/test/action.yml @@ -79,6 +79,13 @@ runs: shell: bash run: dotnet test ./_tests/Sonarr.*.Test.dll --filter "${{ inputs.filter }}" --logger trx --results-directory "${{ env.RESULTS_NAME }}" + - name: Upload Test Results + if: ${{ !cancelled() }} + uses: actions/upload-artifact@v4 + with: + name: results-${{ env.RESULTS_NAME }} + path: ${{ env.RESULTS_NAME }}/*.trx + - name: Publish Test Results if: ${{ !cancelled() }} uses: EnricoMi/publish-unit-test-result-action/composite@v2 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e3174a2e3..f901eddc9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -188,7 +188,7 @@ jobs: binary_path: osx-x64/${{ needs.backend.outputs.framework }}/Sonarr - os: windows-latest artifact: tests-win-x64 - filter: TestCategory!=ManualTest&TestCategory=WINDOWS&TestCategory=IntegrationTest + filter: TestCategory!=ManualTest&TestCategory!=LINUX&TestCategory=IntegrationTest binary_artifact: build_windows binary_path: win-x64/${{ needs.backend.outputs.framework }}/Sonarr runs-on: ${{ matrix.os }}