Skip to content

Add ServiceProvider to AddResiliencePolicies extension #278

Add ServiceProvider to AddResiliencePolicies extension

Add ServiceProvider to AddResiliencePolicies extension #278

Workflow file for this run

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 }}