Skip to content

Commit 473d9ef

Browse files
committed
Ubuntu test fixes
1 parent 44a08ab commit 473d9ef

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/testing.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,17 @@ jobs:
2525
with:
2626
python-version: ${{ matrix.py-version }}
2727

28+
- name: Install linux dependencies
29+
if: ${{ matrix.os == 'ubuntu-latest' }}
30+
# https://pytest-qt.readthedocs.io/en/latest/troubleshooting.html#github-actions
31+
run: |
32+
sudo apt install -y libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 \
33+
libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 \
34+
libxcb-xfixes0 xvfb x11-utils glibc-tools;
35+
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid \
36+
--make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 \
37+
1920x1200x24 -ac +extension GLX +render -noreset;
38+
2839
- name: Update pip & install testing pkgs
2940
run: |
3041
python -VV

0 commit comments

Comments
 (0)