Actually run Windows integration tests

This commit is contained in:
Mark McDowall 2024-01-12 16:34:37 -08:00 committed by Mark McDowall
parent ad0249c7db
commit 1182798929
2 changed files with 8 additions and 1 deletions

View File

@ -79,6 +79,13 @@ runs:
shell: bash shell: bash
run: dotnet test ./_tests/Sonarr.*.Test.dll --filter "${{ inputs.filter }}" --logger trx --results-directory "${{ env.RESULTS_NAME }}" 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 - name: Publish Test Results
if: ${{ !cancelled() }} if: ${{ !cancelled() }}
uses: EnricoMi/publish-unit-test-result-action/composite@v2 uses: EnricoMi/publish-unit-test-result-action/composite@v2

View File

@ -188,7 +188,7 @@ jobs:
binary_path: osx-x64/${{ needs.backend.outputs.framework }}/Sonarr binary_path: osx-x64/${{ needs.backend.outputs.framework }}/Sonarr
- os: windows-latest - os: windows-latest
artifact: tests-win-x64 artifact: tests-win-x64
filter: TestCategory!=ManualTest&TestCategory=WINDOWS&TestCategory=IntegrationTest filter: TestCategory!=ManualTest&TestCategory!=LINUX&TestCategory=IntegrationTest
binary_artifact: build_windows binary_artifact: build_windows
binary_path: win-x64/${{ needs.backend.outputs.framework }}/Sonarr binary_path: win-x64/${{ needs.backend.outputs.framework }}/Sonarr
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}