Skip to content

Commit

Permalink
Run apt-get update in GitHub workflow
Browse files Browse the repository at this point in the history
Otherwise apt-get install has started to fail.
  • Loading branch information
maresb committed Oct 14, 2024
1 parent 7380cad commit 2940d2b
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,18 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt-get install -y libegl1 libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 x11-utils libgl1 libdbus-1-3 libxcb-cursor0
/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
sudo apt-get update && sudo apt-get install -y \
libegl1 libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 \
libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 \
libxcb-xinerama0 libxcb-xfixes0 x11-utils libgl1 \
libdbus-1-3 libxcb-cursor0
/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
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: Test with tox
Expand Down

0 comments on commit 2940d2b

Please sign in to comment.