Skip to content

Commit d12d04f

Browse files
committed
update dotnetcore.yml
1 parent 291c49a commit d12d04f

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/dotnetcore.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,10 @@ jobs:
3030
run: dotnet restore
3131
- name: Build with dotnet
3232
run: dotnet build -c Release --no-restore
33-
- name: Test with dotnet
34-
run: dotnet test src/Magicodes.ExporterAndImporter.Tests
33+
- name: Test with .NET 6.0.x
34+
run: dotnet test src/Magicodes.ExporterAndImporter.Tests -f net6.0
35+
- name: Test with .NET 7.0.x
36+
run: dotnet test src/Magicodes.ExporterAndImporter.Tests -f net7.0
3537
windows-latest:
3638
name: windows-latest
3739
runs-on: windows-latest
@@ -72,5 +74,7 @@ jobs:
7274
run: dotnet restore
7375
- name: Build with dotnet
7476
run: dotnet build -c Release --no-restore
75-
- name: Test with dotnet
76-
run: dotnet test src/Magicodes.ExporterAndImporter.Tests
77+
- name: Test with .NET 6.0.x
78+
run: dotnet test src/Magicodes.ExporterAndImporter.Tests -f net6.0
79+
- name: Test with .NET 7.0.x
80+
run: dotnet test src/Magicodes.ExporterAndImporter.Tests -f net7.0

0 commit comments

Comments
 (0)