Skip to content

Commit

Permalink
removed .net sdk setup
Browse files Browse the repository at this point in the history
add build for unitest project
  • Loading branch information
kerenr-jfrog committed Sep 16, 2024
1 parent d21312e commit 1296842
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 1296842

Please sign in to comment.