Skip to content

Merge pull request #5 from Ali-YousefiTelori/develop #3

Merge pull request #5 from Ali-YousefiTelori/develop

Merge pull request #5 from Ali-YousefiTelori/develop #3

name: Linux Client (dotnet build and test)
on:
push:
branches: [develop]
pull_request:
branches: [develop]
jobs:
os-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
3.1.x
5.0.x
6.0.x
7.0.x
- name: Install Android
run: dotnet workload install android
- name: Restore dependencies
run: dotnet restore ./src/CSharp/EasyMicroservices.PaymentsMicroservice.Client.sln
- name: Build
run: dotnet build ./src/CSharp/EasyMicroservices.PaymentsMicroservice.Client.sln --no-restore
- name: Test
run: |
dotnet test ./src/CSharp/EasyMicroservices.PaymentsMicroservice.Client.sln --no-build --verbosity normal -f netcoreapp3.1
dotnet test ./src/CSharp/EasyMicroservices.PaymentsMicroservice.Client.sln --no-build --verbosity normal -f net6.0
dotnet test ./src/CSharp/EasyMicroservices.PaymentsMicroservice.Client.sln --no-build --verbosity normal -f net5.0