Skip to content

Commit d9f862e

Browse files
committed
Ubuntu test fixes
1 parent bc8d8ce commit d9f862e

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/testing.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
os: [ubuntu-latest, windows-latest, macos-13, macos-latest]
1717
py-version: ["3.10", "3.11", "3.12"]
1818
env:
19-
DISPLAY: ':99.0'
19+
QT_QPA_PLATFORM: 'offscreen'
2020
steps:
2121
- uses: actions/checkout@v4
2222

@@ -28,10 +28,7 @@ jobs:
2828

2929
- name: Install linux dependencies
3030
if: ${{ matrix.os == 'ubuntu-latest' }}
31-
# https://pytest-qt.readthedocs.io/en/latest/troubleshooting.html#github-actions
32-
run: |
33-
sudo apt install libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 x11-utils
34-
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1920x1200x24 -ac +extension GLX
31+
uses: tlambert03/setup-qt-libs@v1
3532

3633
- name: Update pip & install testing pkgs
3734
run: |

0 commit comments

Comments
 (0)