-
Notifications
You must be signed in to change notification settings - Fork 5
38 lines (31 loc) · 933 Bytes
/
ci.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
name: Continuous Integration
on:
push:
branches:
- "*"
- "*/*"
- "!master"
pull_request:
branches:
- master
- milestone/v2.0.0
jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet: [
{ framework: netcoreapp3.1, version: 3.1.x },
{ framework: net5.0, version: 5.0.x },
{ framework: net6.0, version: 6.0.x },
]
name: ${{ matrix.dotnet.framework }} – run tests
steps:
- uses: actions/checkout@v2
- name: Setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ matrix.dotnet.version }}
- name: Run tests
run: |
dotnet test --configuration Release --framework ${{ matrix.dotnet.framework }} ./src/Dodo.HttpClient.ResiliencePolicies.Tests/Dodo.HttpClient.ResiliencePolicies.Tests.csproj /p:Framework=${{ matrix.dotnet.framework }}