Skip to content

Add release workflow #36

Add release workflow

Add release workflow #36

Workflow file for this run

name: Build and Run Tests
on:
push:
pull_request:
type: [ labeled ]
jobs:
call-build-workflow:
uses: ./.github/workflows/build-vsix.yml
with:
ref: ${{ github.event.pull_request.head.sha }}
test:
runs-on: windows-latest
needs: call-build-workflow
steps:
- name: Download VSIX artifact
uses: actions/download-artifact@v3
with:
name: vsix-artifacts
path: ./JFrogVSExtension/bin/Release
- name: Download Unit Test DLL artifact
uses: actions/download-artifact@v3
with:
name: tests-artifacts
path: ./UnitTestJfrogVSExtension/bin/Release
- name: Run MSTest Project # run tests in release mode with logs presentation
run: dotnet test --no-build --configuration Release --logger "console;verbosity=detailed" ./UnitTestJfrogVSExtension/bin/Release/UnitTestJfrogVSExtension.dll