I'm currently doing a pipeline in github actions that runs integration tests on Windows. Some of these integration tests are using QT to test the UI and are actually rendering interfaces.
When I execute the following command works in powershell terminal manually:
Start-Process -FilePath ".\Layout_test.exe" -Wait -ArgumentList "-my", "args"
Everything works just fine and the different UIs start rendering (I see them)
However, when I execute the same in github actions:
- name: Test
working-directory: C:\build
env:
QA_OPENGL: angle
QMLSCENE_DEVICE: softwarecontext
shell: powershell
run: |
Start-Process -FilePath ".\Layout_test.exe" -Wait -ArgumentList "-my", "args"
The command hangs indefinitely without rendering anything, completing or outputting any log/error.
I am not entirely sure what am I missing here?
Do I need to do something special and maybe run the process in foreground, perhaps?