diff --git a/.github/workflows/dotnet-test.yml b/.github/workflows/dotnet-test.yml index 29a2f21..1187e00 100644 --- a/.github/workflows/dotnet-test.yml +++ b/.github/workflows/dotnet-test.yml @@ -26,7 +26,7 @@ jobs: run: dotnet build '${{ vars.BUILD_SOLUTION }}' -c ${{ matrix.config }} - name: Test solution with ${{ matrix.config }} configuration run: | - dotnet test '${{ vars.BUILD_SOLUTION }}' --no-build -c ${{ matrix.config }} --verbosity normal --logger junit --results-directory "TestResults-${{ matrix.os }}-${{ matrix.config }}" -- RunConfiguration.TestSessionTimeout=${{ vars.MIGRATIONSDK_TEST_CANCELLATION_TIMEOUT_MILLISECONDS }} + dotnet test '${{ vars.BUILD_SOLUTION }}' --no-build -c ${{ matrix.config }} --verbosity normal --logger trx --results-directory "TestResults-${{ matrix.os }}-${{ matrix.config }}" -- RunConfiguration.TestSessionTimeout=${{ vars.MIGRATIONSDK_TEST_CANCELLATION_TIMEOUT_MILLISECONDS }} - name: Upload test results # Use always() to always run this step to publish test results when there are test failures if: ${{ always() }} @@ -34,10 +34,4 @@ jobs: with: name: dotnet-results-${{ matrix.os }}-${{ matrix.config }} path: TestResults-${{ matrix.os }}-${{ matrix.config }} - if-no-files-found: error - - name: Publish Unit Test Results - uses: test-summary/action@v2 - with: - paths: TestResults-${{ matrix.os }}-${{ matrix.config }}/*.xml - show: "fail, skip" - + if-no-files-found: error \ No newline at end of file