Skip to content

Commit 70d4ff0

Browse files
committed
Run tests using github actions
1 parent ae6ad3a commit 70d4ff0

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/dotnetcore.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: .NET Core CI
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
test:
7+
name: Tests on ${{ matrix.os }}
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
matrix:
11+
os: [ubuntu-latest, windows-latest, macos-latest]
12+
timeout-minutes: 30
13+
14+
steps:
15+
- uses: actions/checkout@v1
16+
17+
- name: Setup .NET Core 3.1
18+
uses: actions/setup-dotnet@v1
19+
with:
20+
dotnet-version: 3.1.101
21+
22+
- name: Build
23+
run: dotnet build -warnaserror
24+
- name: Tests
25+
run: dotnet test

0 commit comments

Comments
 (0)