-
Notifications
You must be signed in to change notification settings - Fork 1
42 lines (32 loc) · 1.1 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
on: push
jobs:
ubuntu-tests:
runs-on: ubuntu-latest
steps:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Check out repository
uses: actions/checkout@v3
- name: Build
run: dotnet build ./src/AutoTests.Framework.sln
- name: Test on .net 6
run: dotnet test --no-build --no-restore --framework net6.0 ./src/AutoTests.Framework.sln
- name: Test on .net 7
run: dotnet test --no-build --no-restore --framework net7.0 ./src/AutoTests.Framework.sln
- name: Test on .net 8
run: dotnet test --no-build --no-restore --framework net8.0 ./src/AutoTests.Framework.sln
windows-tests:
runs-on: windows-latest
steps:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Check out repository
uses: actions/checkout@v3
- name: Build
run: dotnet build ./src/AutoTests.Framework.sln
- name: Test
run: dotnet test --no-build --no-restore ./src/AutoTests.Framework.sln