File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,15 +22,25 @@ jobs:
2222 python-version : 3.12
2323 - name : Install dependencies
2424 run : |
25- sudo apt-get update
26- sudo apt-get install -y libegl1 libgl1-mesa-glx xvfb
2725 python -m pip install --upgrade pip
2826 pip install ruff pytest tqdm pytest-cov
2927 pip install -r requirements.txt
28+
3029 - name : Lint with ruff
3130 run : |
3231 # stop the build if there are Python syntax errors or undefined names
3332 ruff check
33+
34+ - name : Spin up Xvfb
35+ run : |
36+ sudo apt-get update
37+ sudo apt-get install libosmesa6 libglx-mesa0 libopengl0 libglx0 libdbus-1-3
38+ /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1400x900x24 -ac +extension GLX +render -noreset;
39+
40+ - name : Install PyQt6 dependencies
41+ run : |
42+ sudo apt-get install qt6-base-dev libx11-xcb-dev libxcb-cursor0
43+
3444 - name : Test with pytest
3545 run : |
3646 pip install -e .
You can’t perform that action at this time.
0 commit comments