Skip to content

Commit

Permalink
Trying headless GUI unit tests [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
dbouget committed Oct 31, 2023
1 parent 327a1ce commit 335ae4f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
sudo apt-get install -y pocl-opencl-icd
- name: Setup OpenGL
run: sudo apt-get install -y libopengl0
run: sudo apt install -y '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev

- name: Debug clinfo
run: clinfo
Expand Down Expand Up @@ -84,10 +84,14 @@ jobs:
pyinstaller --log-level INFO --noconfirm --clean assets/main.spec
- name: Test executable xvfb
env:
DISPLAY: ':1'
run: xvfb-run ./dist/Raidionics/Raidionics & sleep 5; kill -INT %+
shell: bash

- name: Test executable
env:
DISPLAY: ':1'
run: QT_QPA_PLATFORM="offscreen" ./dist/Raidionics/Raidionics & sleep 5; kill -INT %+
shell: bash
#
Expand Down

0 comments on commit 335ae4f

Please sign in to comment.