Skip to content

Add Setup-VSTest action and update test command #9

Add Setup-VSTest action and update test command

Add Setup-VSTest action and update test command #9

Workflow file for this run

name: tests
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup MSBuild
uses: microsoft/[email protected]
- name: Setup NuGet
uses: NuGet/[email protected]
- name: Restore NuGet packages
run: nuget restore SoG_SGreader.sln
- name: Build
run: msbuild /p:Configuration=Release SoG_SGreader.sln
- name: Setup VSTest
uses: warrenbuckley/Setup-VSTest@v1
- name: Test
run: vstest.console.exe SoG_SGreader.Test\bin\Release\SoG_SGreader.Test.dll