Skip to content

Commit afc1ecd

Browse files
committed
[spec] specify test command
1 parent bb1a2b3 commit afc1ecd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- os: ubuntu-latest
2121
solution: Simplify.NetCore.sln
2222
tests-exclude-category: Windows
23-
dotnet-test-framework: net8.0
23+
test-framework-command: --framework net8.0
2424

2525
env:
2626
DOTNET_TEST_FRAMEWORK: ${{ matrix.dotnet-test-framework }} # Set at job level
@@ -39,7 +39,7 @@ jobs:
3939
run: dotnet build ${{ matrix.solution }} --no-restore -c Release
4040

4141
- name: Perform Unit Testing
42-
run: dotnet test ${{ matrix.solution }} --no-build -c Release --framework ${{ matrix.test-framework }} --filter "TestCategory != Integration & TestCategory != ${{ matrix.tests-exclude-category }}" --verbosity normal
42+
run: dotnet test ${{ matrix.solution }} --no-build -c Release ${{ matrix.test-framework-command }} --filter "TestCategory != Integration & TestCategory != ${{ matrix.tests-exclude-category }}" --verbosity normal
4343

4444
- name: Create Packages
4545
run: dotnet pack ${{ matrix.solution }} --no-build -c Release -o ./publish

0 commit comments

Comments
 (0)