Skip to content

Fixing test-workflow #26

Fixing test-workflow

Fixing test-workflow #26

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 with MSBuild
run: msbuild /p:Configuration=Release SoG_SGreader.sln
- name: Setup VSTest Console
uses: darenm/Setup-VSTest@v1
- name: List directory contents
run: |
dir SoG_SGreader.Test\bin\Release
dir SoG_SGreader.Test\SaveGames
dir packages
- name: Test
run: vstest.console.exe /TestAdapterPath:"packages" SoG_SGreader.Test\bin\Release\SoG_SGreader.Test.dll