Skip to content

Commit cb37e52

Browse files
committed
fix(ci): use --report-trx for MSTest Testing Platform
MSTest v3 with EnableMSTestRunner uses the Testing Platform which has different CLI options. Changed --logger "trx" to --report-trx.
1 parent 1b704e3 commit cb37e52

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build-and-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
fi
6161
dotnet test --project test/NumSharp.UnitTest/NumSharp.UnitTest.csproj \
6262
--configuration Release --no-build --framework net8.0 \
63-
--filter "$FILTER" --logger "trx"
63+
--filter "$FILTER" --report-trx
6464
6565
- name: Test (net10.0)
6666
shell: bash
@@ -75,7 +75,7 @@ jobs:
7575
fi
7676
dotnet test --project test/NumSharp.UnitTest/NumSharp.UnitTest.csproj \
7777
--configuration Release --no-build --framework net10.0 \
78-
--filter "$FILTER" --logger "trx"
78+
--filter "$FILTER" --report-trx
7979
8080
- name: Upload Test Results
8181
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)