Skip to content

Commit 726f3dc

Browse files
committed
try xvfb for CI testing with GUI
1 parent ddc8dad commit 726f3dc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/python-ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ${{ matrix.os }}
88
strategy:
99
matrix:
10-
os: [ubuntu-latest, macos-latest, windows-latest]
10+
os: [ubuntu-latest]
1111
python-version: [3.9]
1212

1313
steps:
@@ -21,6 +21,8 @@ jobs:
2121
python -c "import sys; print(sys.version)"
2222
python -c "import struct; print(struct.calcsize('P') * 8)"
2323
- name: Install testing dependencies
24-
run: python -m pip install --upgrade pip setuptools wheel tox tox-gh-actions
24+
run: |
25+
sudo apt install libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0
26+
python -m pip install --upgrade pip setuptools wheel tox tox-gh-actions pytest pytest-qt pytest-xvfb
2527
- name: Run tox tests
2628
run: python -m tox

0 commit comments

Comments
 (0)