Skip to content

Commit 6695743

Browse files
committed
libgit2sharp.yml: split build and test
1 parent a8a0c1f commit 6695743

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/libgit2sharp.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,22 @@ jobs:
2323
run: dotnet restore LibGit2Sharp.sln
2424
- name: Build
2525
run: dotnet build --no-restore LibGit2Sharp.sln
26+
27+
test:
28+
runs-on: ubuntu-20.04
29+
30+
steps:
31+
- uses: actions/checkout@v2
32+
with:
33+
fetch-depth: 0
34+
- name: Setup .NET
35+
uses: actions/setup-dotnet@v1
36+
with:
37+
dotnet-version: 3.1.401
38+
- name: Restore dependencies
39+
run: dotnet restore LibGit2Sharp.sln
40+
- name: Build
41+
run: dotnet build --no-restore LibGit2Sharp.sln
42+
2643
- name: Test
2744
run: dotnet test --no-build --verbosity normal LibGit2Sharp.sln

0 commit comments

Comments
 (0)