Skip to content

Commit b4165b1

Browse files
committed
Split tests by TFM
1 parent 8c7d9e5 commit b4165b1

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/ci.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ jobs:
4545
name: NuGet packages
4646
path: bin/Packages/
4747
retention-days: 7
48-
- name: Run tests
49-
run: dotnet test LibGit2Sharp.sln --configuration Release --no-build --logger "GitHubActions"
48+
- name: Run net472 tests
49+
if: matrix.name == 'Windows'
50+
run: dotnet test LibGit2Sharp.sln --configuration Release --no-build --framework net472 --logger "GitHubActions"
51+
- name: Run netcoreapp3.1 tests
52+
run: dotnet test LibGit2Sharp.sln --configuration Release --no-build --framework netcoreapp3.1 --logger "GitHubActions"
53+
- name: Run net5.0 tests
54+
run: dotnet test LibGit2Sharp.sln --configuration Release --no-build --framework net5.0 --logger "GitHubActions"
5055

0 commit comments

Comments
 (0)