File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -44,20 +44,20 @@ jobs:
4444 # NOTE: Test project currently only targets net10.0. See TODO in NumSharp.UnitTest.csproj
4545 # to re-enable net8.0 when TUnit compatibility is resolved.
4646 #
47- # Test filtering (using dotnet test --filter with MSTest-style syntax):
47+ # Test filtering (TUnit --treenode-filter syntax):
4848 # - OpenBugs: excluded on all platforms (known-failing bug reproductions)
4949 # - WindowsOnly: excluded on non-Windows (require GDI+/System.Drawing.Common)
5050 - name : Test (net10.0)
5151 shell : bash
5252 run : |
5353 if [[ "$RUNNER_OS" == "Windows" ]]; then
54- FILTER='TestCategory !=OpenBugs'
54+ FILTER='/*/*/*/*[Category !=OpenBugs] '
5555 else
56- FILTER='TestCategory !=OpenBugs & TestCategory !=WindowsOnly'
56+ FILTER='/*/*/*/*[(Category !=OpenBugs) AND (Category !=WindowsOnly)] '
5757 fi
58- dotnet test --project test/NumSharp.UnitTest/NumSharp.UnitTest.csproj \
58+ dotnet run --project test/NumSharp.UnitTest/NumSharp.UnitTest.csproj \
5959 --configuration Release --no-build --framework net10.0 \
60- --filter "$FILTER" --logger trx
60+ -- --treenode- filter "$FILTER" --report- trx
6161
6262 - name : Upload Test Results
6363 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments