Skip to content

Commit d38c948

Browse files
authored
Merge pull request #2 from shimat/add_windows_ci
Add CI (Windows only)
2 parents 18fcdc9 + 424726c commit d38c948

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
types: [synchronize, opened]
8+
9+
jobs:
10+
test-windows:
11+
runs-on: windows-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Setup .NET
17+
uses: actions/setup-dotnet@v4
18+
with:
19+
dotnet-version: 8.0.x
20+
21+
- name: Restore dependencies
22+
run: dotnet restore
23+
24+
- name: Build
25+
run: dotnet build --no-restore --framework net48
26+
27+
- name: Test
28+
run: dotnet test --no-build --framework net48 --verbosity normal

0 commit comments

Comments
 (0)