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