Add Setup-VSTest action and update test command #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |