Skip to content

Commit

Permalink
use vstest-action for running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kerenr-jfrog committed Sep 16, 2024
1 parent 1296842 commit ba88eba
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
searchFolder: ./UnitTestJfrogVSExtension/bin/Debug

# - name: Run MSTest Project
# run: vstest.console.exe ./UnitTestJfrogVSExtension/bin/Debug/UnitTestJfrogVSExtension.dll
# shell: pwsh

0 comments on commit ba88eba

Please sign in to comment.