Skip to content

Add Sendername feature #list #38

Add Sendername feature #list

Add Sendername feature #list #38

name: Unit tests
on:
push:
branches:
- 3.x.x-dev
pull_request:
branches:
- 3.x.x-dev
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
dotnet-version: ['6.0', '7.0', '8.0', '9.0']
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0'
- name: Setup .NET 7 SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0'
- name: Setup .NET 8 SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0'
- name: Setup .NET 9 SDKs
uses: actions/setup-dotnet@v3
with:
dotnet-version: '9.0'
- name: Install dependencies
run: dotnet restore
- name: Build the solution
run: dotnet build --configuration Release
- name: Run unit tests
run: dotnet test smsapiTests/smsapiTests.csproj --configuration Release --no-build --verbosity normal --framework net${{ matrix.dotnet-version }}