From 9037b116a69ee3ce3bada17249f4bdead2f0bf94 Mon Sep 17 00:00:00 2001 From: yv989c Date: Thu, 1 Sep 2022 23:30:31 -0400 Subject: [PATCH] ci: attempt to use local vstest.console.exe --- .github/workflows/ci-workflow.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml index f05d974..2be74db 100644 --- a/.github/workflows/ci-workflow.yml +++ b/.github/workflows/ci-workflow.yml @@ -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/vstest-action@v1.0.0 - 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/vstest-action@v1.0.0 + #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