Skip to content

Merge pull request #151 from micahmo/release/v2.0.11 #312

Merge pull request #151 from micahmo/release/v2.0.11

Merge pull request #151 from micahmo/release/v2.0.11 #312

name: Run Unit Tests
concurrency: ${{ github.workflow }}
on: [push, pull_request]
jobs:
restore_build_test:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
# Setup: Need .NET Core for restore, MSBuild for build, and VSTest for test
- name: Setup .NET
uses: actions/[email protected]
with:
dotnet-version: 3.1.x
- name: Setup MSBuild
uses: microsoft/[email protected]
- name: Setup VSTest
uses: darenm/Setup-VSTest@v1
# Restore, build, test
- name: Restore
run: dotnet restore
- name: Build
run: msbuild
- name: Test
run: vstest.console WgServerforWindows.Tests\bin\Debug\netcoreapp3.1\WgServerforWindows.Tests.dll