Update test.yml #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: discovery2 | |
run: gci -r 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\*.exe' | |
- name: discovery1 | |
run: gci -r 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow\TestPlatform\' | |
- 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 |