Skip to content

Commit f4a7255

Browse files
committed
Fix CI Aborted error: Install libxcb-cursor0, libxcb-shape0 and use xvfb-run -a
1 parent 7e014b0 commit f4a7255

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Install Qt system dependencies
2929
run: |
3030
sudo apt-get update
31-
sudo apt-get install -y libegl1 libdbus-1-3 libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 x11-utils libx11-xcb1 libxcb1 libx11-6 libgl1
31+
sudo apt-get install -y xvfb libegl1 libdbus-1-3 libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 x11-utils libx11-xcb1 libxcb1 libx11-6 libgl1 libxcb-cursor0 libxcb-shape0
3232
3333
- name: Lint with flake8
3434
run: |
@@ -40,5 +40,4 @@ jobs:
4040
- name: Run Tests
4141
# Usamos xvfb para simular un display para los tests de UI si son necesarios
4242
run: |
43-
sudo apt-get install -y xvfb
44-
xvfb-run pytest tests/
43+
xvfb-run -a pytest tests/

0 commit comments

Comments
 (0)