Skip to content

Commit 44777c7

Browse files
committed
fix(workflows): Update package installation commands in test workflows for improved reliability
1 parent 3e7dc6e commit 44777c7

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/test_pyqt5.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ jobs:
4646
python-version: ${{ matrix.python-version }}
4747
- name: Install dependencies
4848
run: |
49-
sudo apt install libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 x11-utils
49+
sudo apt-get update
50+
sudo apt-get install -y libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 x11-utils
5051
/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
5152
python -m pip install --upgrade pip
5253
python -m pip install ruff pytest httpx

.github/workflows/test_pyqt6.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ jobs:
4646
python-version: ${{ matrix.python-version }}
4747
- name: Install dependencies
4848
run: |
49-
sudo apt install libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 x11-utils libegl1
49+
sudo apt-get update
50+
sudo apt-get install -y libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 x11-utils libegl1
5051
/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
5152
python -m pip install --upgrade pip
5253
python -m pip install ruff pytest httpx

0 commit comments

Comments
 (0)