diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c20a4469..3e7faad0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 diff --git a/pyproject.toml b/pyproject.toml index f11d546d..4f25a7f5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -89,6 +89,9 @@ replacement = '