-
Notifications
You must be signed in to change notification settings - Fork 21
40 lines (33 loc) · 952 Bytes
/
run-tests-linux.yml
File metadata and controls
40 lines (33 loc) · 952 Bytes
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
name: "Unit and Integration Test: Linux"
on:
pull_request:
push:
branches:
- main
jobs:
check:
runs-on: ubuntu-22.04
env:
DOTNET_NOLOGO: true
strategy:
fail-fast: false
matrix:
targetframework: [ "net6.0", "net7.0", "net8.0", "net9.0" ]
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Download dotnet framework
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.428
7.0.410
8.0.404
9.0.100
- name: Download dotnet build-script tools
run: dotnet tool restore
- name: Unit tests
run: ./build.sh --target=Test.NetStandard.Unit.WithRetry --framework=${{ matrix.targetframework }}
- name: Integration tests
run: ./build.sh --target=Test.NetStandard.Integration.WithRetry --framework=${{ matrix.targetframework }}