Merge pull request #221 from Mangopay/feature/paypal-updates #280
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: mangopay2-net-sdk-ci | |
on: | |
push: | |
branches: | |
# push on master branch | |
- master | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
dotnet: ['6.0.x'] | |
name: dotnet ${{ matrix.dotnet }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: ${{ matrix.dotnet }} | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build -c Release --no-restore | |
- name: Test .NET 6.0 | |
run: dotnet test ./MangoPay.SDK.Tests/bin/Release/net6.0/MangoPay.SDK.Tests.dll | |
- name: Test .NET 4.8 | |
run: dotnet test ./MangoPay.SDK.Tests/bin/Release/net48/MangoPay.SDK.Tests.dll |