Skip to content

Commit a5aedcb

Browse files
committed
ci: fix test step to only test net10.0 (matching test project)
The test project currently only targets net10.0 (net8.0 commented out with TODO note about TUnit compatibility). The CI was trying to test both frameworks, causing "No such file or directory" failures because the net8.0 executable doesn't exist. Aligns CI with test project's actual target framework until net8.0 support is re-enabled in NumSharp.UnitTest.csproj.
1 parent 82048e7 commit a5aedcb

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

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

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,8 @@ jobs:
4848
- name: Build
4949
run: dotnet build test/NumSharp.UnitTest/NumSharp.UnitTest.csproj --configuration Release -p:NoWarn=${{ env.DOTNET_NOWARN }}
5050

51-
- name: Test (net8.0)
52-
shell: bash
53-
run: |
54-
dotnet run --project test/NumSharp.UnitTest/NumSharp.UnitTest.csproj \
55-
--configuration Release --no-build --framework net8.0 \
56-
-- --treenode-filter "${{ env.TEST_FILTER }}" --report-trx
57-
51+
# NOTE: Test project currently only targets net10.0. See TODO in NumSharp.UnitTest.csproj
52+
# to re-enable net8.0 when TUnit compatibility is resolved.
5853
- name: Test (net10.0)
5954
shell: bash
6055
run: |

0 commit comments

Comments
 (0)