Skip to content

Implement ASCA (AST-72865) #495

Implement ASCA (AST-72865)

Implement ASCA (AST-72865) #495

Workflow file for this run

name: Checkmarx One visual studio extension CI
on: [ pull_request, workflow_dispatch ]
permissions: write-all
jobs:
integration-tests:
runs-on: windows-latest
permissions:
contents: write
steps:
- name: Fetch Sources
uses: actions/checkout@v4
- name: Setup VSTest
uses: darenm/Setup-VSTest@3a16d909a1f3bbc65b52f8270d475d905e7d3e44 #v1
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@1ff57057b5cfdc39105cd07a01d78e9b0ea0c14c #v1.3.1
with:
vs-version: '17.2'
- name: Restore NuGet packages
run: nuget restore .
- name: Restore
run: dotnet restore .
- name: Build
run: msbuild /p:Configuration=Release /p:DeployExtension=False
- name: Tests
env:
CX_APIKEY: ${{ secrets.CX_APIKEY }}
run: vstest.console.exe /InIsolation .\ast-visual-studio-extension-tests\bin\Release\net60-windows\ast-visual-studio-extension-tests.dll