Skip to content

Commit 2a96e32

Browse files
committed
fixing workflow
1 parent 0fa4824 commit 2a96e32

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/dotnet-test.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,12 @@ jobs:
2626
run: dotnet build '${{ vars.BUILD_SOLUTION }}' -c ${{ matrix.config }}
2727
- name: Test solution with ${{ matrix.config }} configuration
2828
run: |
29-
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 }}
29+
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 }}
3030
- name: Upload test results
3131
# Use always() to always run this step to publish test results when there are test failures
3232
if: ${{ always() }}
3333
uses: actions/upload-artifact@v4
3434
with:
3535
name: dotnet-results-${{ matrix.os }}-${{ matrix.config }}
3636
path: TestResults-${{ matrix.os }}-${{ matrix.config }}
37-
if-no-files-found: error
38-
- name: Publish Unit Test Results
39-
uses: test-summary/action@v2
40-
with:
41-
paths: TestResults-${{ matrix.os }}-${{ matrix.config }}/*.xml
42-
show: "fail, skip"
43-
37+
if-no-files-found: error

0 commit comments

Comments
 (0)