From 2a96e326671ec1119f260d262c28b97c07d0c31d Mon Sep 17 00:00:00 2001 From: Steffen Froehlich Date: Tue, 16 Jul 2024 11:19:25 -0700 Subject: [PATCH] fixing workflow --- .github/workflows/dotnet-test.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/dotnet-test.yml b/.github/workflows/dotnet-test.yml index 29a2f21a..1187e008 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