diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 2483133..16893d6 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -36,7 +36,7 @@ jobs: - name: Build run: msbuild.exe c-reusables.sln /p:Configuration=Debug /p:Platform=Win32 - name: Test - run: for %t in ("tests\Debug\test-*.exe") do %t + run: Get-ChildItem -Path .\tests\Debug\ -File "test-*.exe" | Foreach {Write $_.FullName; Invoke-Expression $_.FullName} windows-64: runs-on: windows-latest @@ -48,4 +48,4 @@ jobs: - name: Build run: msbuild.exe c-reusables.sln /p:Configuration=Debug /p:Platform=x64 - name: Test - run: for %t in ("tests\Debug\test-*.exe") do %t + run: Get-ChildItem -Path .\tests\Debug\ -File "test-*.exe" | Foreach {Write $_.FullName; Invoke-Expression $_.FullName} \ No newline at end of file