Skip to content

Commit

Permalink
Add Setup-VSTest action and update test command
Browse files Browse the repository at this point in the history
  • Loading branch information
tolik518 committed Oct 21, 2023
1 parent a0b71f8 commit be93c7f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup MSBuild
uses: microsoft/[email protected]
Expand All @@ -21,6 +21,8 @@ jobs:
- name: Build
run: msbuild /p:Configuration=Release SoG_SGreader.sln

- name: Setup VSTest
uses: warrenbuckley/Setup-VSTest@v1

- name: Test
run: |
& "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe" SoG_SGreader.Test\bin\Release\SoG_SGreader.Test.dll
run: vstest.console.exe SoG_SGreader.Test\bin\Release\SoG_SGreader.Test.dll

0 comments on commit be93c7f

Please sign in to comment.