From 380d8877072f2b6c4354df021c9d62eda723e5b0 Mon Sep 17 00:00:00 2001 From: Yasumasa Suenaga Date: Mon, 14 Oct 2024 17:10:16 +0900 Subject: [PATCH] Use vstest-action rather than Setup-VSTest --- .github/workflows/unittest.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/unittest.yaml b/.github/workflows/unittest.yaml index e33a313..bd78214 100644 --- a/.github/workflows/unittest.yaml +++ b/.github/workflows/unittest.yaml @@ -19,11 +19,11 @@ jobs: - name: Setup msbuild uses: microsoft/setup-msbuild@v2 - - name: Setup VSTest Path - uses: darenm/Setup-VSTest@v1.3 - - name: Build unit test run: msbuild SimpleComTest\SimpleComTest.vcxproj -property:"Configuration=Debug" -property:"Platform=x64" - name: Run unit test - run: vstest.console.exe /Platform:x64 SimpleComTest\x64\Debug\SimpleComTest.dll + uses: microsoft/vstest-action@v1.0.0 + with: + testAssembly: SimpleComTest\x64\Debug\SimpleComTest.dll + platform: x64