Skip to content

Update test.yml

Update test.yml #19

Workflow file for this run

name: test-action
on:
workflow_dispatch:
push:
jobs:
test:
name: test-job
runs-on: windows-latest
steps:
- name: step-checkout
uses: actions/[email protected]
- name: step-setup-dependencies
uses: microsoft/setup-msbuild@v2
- name: discovery1
run: cd 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\'
- name: discovery2
run: ls
- name: step-build
run: MSBuild.exe msvc_test
- name: step-test
run: |
& 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow\TestPlatform\vstest.console.exe' D:\a\snct-constraints\snct-constraints\msvc_test\x64\Release\msvc_test.dll
#searchFolder: D:\a\snct-constraints\snct-constraints\msvc_test\x64\Release
#testAssembly: '**\\*test*.dll\n!**\\*TestAdapter.dll\n!**\\obj\\**' #msvc_test.dll
#runInParallel: true