Skip to content

Update gh actions environment #413

Update gh actions environment

Update gh actions environment #413

Workflow file for this run

name: UnitTest
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
dotnet-version: ['2.1.x']
os: [ubuntu-22.04]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: false
- name: Setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: "Install and run tests 2.1.300"
if: ${{ matrix.dotnet-version == '2.1.x' }}
run: |
dotnet test --framework netcoreapp2.0 tests_netcore/Plivo.NetCore.Test/Plivo.NetCore.Test.csproj;
env:
DOTNETCORE: 2