Skip to content

Commit e103b7e

Browse files
committed
ci update
1 parent ae8eafc commit e103b7e

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/test.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,15 @@ jobs:
9393
9494
- name: Start StackQL server (Windows)
9595
if: matrix.os == 'windows-latest'
96-
shell: cmd
96+
shell: pwsh
9797
run: |
98-
C:\Temp\stackql.exe -v --pgsrv.port=5444 srv > stackql-server.log 2>&1 &
99-
echo StackQL server started from C:\Temp\stackql.exe
100-
timeout /t 5 /nobreak > NUL
101-
98+
Start-Process -FilePath "C:\Temp\stackql.exe" `
99+
-ArgumentList "-v", "--pgsrv.port=5444", "srv" `
100+
-RedirectStandardOutput "stackql-server.log" `
101+
-RedirectStandardError "stackql-server.log" `
102+
-NoNewWindow
103+
Write-Host "StackQL server started from C:\Temp\stackql.exe"
104+
Start-Sleep -Seconds 5
102105
103106
# - name: Run server tests
104107
# env:

0 commit comments

Comments
 (0)