Skip to content

Commit

Permalink
ci: attempt to use local vstest.console.exe
Browse files Browse the repository at this point in the history
  • Loading branch information
yv989c committed Sep 2, 2022
1 parent 7f1cd61 commit 9037b11
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,16 @@ jobs:
# Tests
- name: Build
run: msbuild BlazarTech.QueryableValues.EF6.sln -property:Configuration=Release -property:RestorePackages=false
#- name: Tests
# run: vstest.console.exe tests/QueryableValues.EF6.SqlServer.Tests.EF*/bin/Release/**/BlazarTech.QueryableValues.EF6.SqlServer.Tests.EF*.dll
- name: Tests
uses: microsoft/[email protected]
with:
testAssembly: BlazarTech.QueryableValues.EF6.SqlServer.Tests.EF*.dll
searchFolder: ./tests/QueryableValues.EF6.SqlServer.Tests.EF*/bin/Release/**/
runInParallel: false
vstestLocationMethod: location
vstestLocation: 'C:/Program Files/Microsoft Visual Studio/2022/Enterprise/Common7/IDE/Extensions/TestPlatform/vstest.console.exe'
run: |
& "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/Common7/IDE/Extensions/TestPlatform/vstest.console.exe" ./tests/QueryableValues.EF6.SqlServer.Tests.EF*/bin/Release/**/BlazarTech.QueryableValues.EF6.SqlServer.Tests.EF*.dll
#uses: microsoft/[email protected]
#with:
# testAssembly: BlazarTech.QueryableValues.EF6.SqlServer.Tests.EF*.dll
# searchFolder: ./tests/QueryableValues.EF6.SqlServer.Tests.EF*/bin/Release/**/
# runInParallel: false
# vstestLocationMethod: location
# vstestLocation: 'C:/Program Files/Microsoft Visual Studio/2022/Enterprise/Common7/IDE/Extensions/TestPlatform/vstest.console.exe'

- name: Upload Artifacts
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 9037b11

Please sign in to comment.