diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9c91517..96d2152 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -42,10 +42,11 @@ jobs: - name: Build VSIX Project # build the vsix project using multi-core compilation and parallel builds run: msbuild ./JFrogVSExtension/ /p:Configuration=Release /p:Platform="AnyCPU" /p:BuildInParallel=true /m - - name: Build Unit Test Project - run: msbuild /p:Configuration=Debug ./UnitTestJfrogVSExtension/UnitTestJfrogVSExtension.csproj - - - name: Run MSTest Project - run: | - & "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\Extensions\TestPlatform\vstest.console.exe" ./UnitTestJfrogVSExtension/bin/Debug/UnitTestJfrogVSExtension.dll - shell: pwsh + - name: Run Tests + uses: microsoft/vstest-action@v1.0.0 + with: + searchFolder: ./UnitTestJfrogVSExtension/bin/Debug + +# - name: Run MSTest Project +# run: vstest.console.exe ./UnitTestJfrogVSExtension/bin/Debug/UnitTestJfrogVSExtension.dll +# shell: pwsh