Skip to content

Commit

Permalink
set smoke test shell to powershell and use powershell code for sleepi…
Browse files Browse the repository at this point in the history
…ng and killing
  • Loading branch information
mwinkens committed Jun 5, 2024
1 parent 82b236f commit ceced97
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ jobs:
- name: Test Executable for Windows
if: matrix.os == 'windows-latest'
shell: pwsh
run: |
./dist/viewer_win64_python${{ matrix.python-version }}.exe &
VIEWER_PID=$!
sleep 10
kill $VIEWER_PID
$process = Start-Process -FilePath "dist/viewer_win64_python_${{ matrix.python-version }}.exe" -PassThru
Start-Sleep -Seconds 10
$process.Kill()
- name: Upload Artifacts
if: matrix.python-version == '3.11'
Expand Down

0 comments on commit ceced97

Please sign in to comment.