-
-
Notifications
You must be signed in to change notification settings - Fork 259
64 lines (61 loc) · 1.95 KB
/
dotnet.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: .NET
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build_and_tests_on_dotnet_6:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore ./Src/All.sln
- name: Build
run: dotnet build ./Src/All.sln
- name: Mailer Tests
run: dotnet test ./Src/UnitTests/MailerUnitTests/MailerUnitTests.csproj
- name: Unit Tests
run: dotnet test ./Src/UnitTests/CoravelUnitTests/CoravelUnitTests.csproj
- name: Integration Tests
run: dotnet test ./Src/IntegrationTests/Tests/Tests.csproj
build_and_tests_on_dotnet_7:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Restore dependencies
run: dotnet restore ./Src/All.sln
- name: Build
run: dotnet build ./Src/All.sln
- name: Mailer Tests
run: dotnet test ./Src/UnitTests/MailerUnitTests/MailerUnitTests.csproj
- name: Unit Tests
run: dotnet test ./Src/UnitTests/CoravelUnitTests/CoravelUnitTests.csproj
- name: Integration Tests
run: dotnet test ./Src/IntegrationTests/Tests/Tests.csproj
build_and_tests_on_dotnet_8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore ./Src/All.sln
- name: Build
run: dotnet build ./Src/All.sln
- name: Mailer Tests
run: dotnet test ./Src/UnitTests/MailerUnitTests/MailerUnitTests.csproj
- name: Unit Tests
run: dotnet test ./Src/UnitTests/CoravelUnitTests/CoravelUnitTests.csproj
- name: Integration Tests
run: dotnet test ./Src/IntegrationTests/Tests/Tests.csproj