diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 088b9eb..9c91517 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,11 +12,6 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 - - - name: Setup .NET SDK - uses: actions/setup-dotnet@v3 - with: - dotnet-version: '6.0' - name: Setup MSBuild uses: microsoft/setup-msbuild@v1 @@ -47,7 +42,10 @@ 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: | - vstest.console.exe ./UnitTestJfrogVSExtension/bin/Debug/UnitTestJfrogVSExtension.dll + & "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\Extensions\TestPlatform\vstest.console.exe" ./UnitTestJfrogVSExtension/bin/Debug/UnitTestJfrogVSExtension.dll shell: pwsh