From b83f32e24ddd2f23b603ac953d0ffe6af11fb984 Mon Sep 17 00:00:00 2001 From: elParaguayo Date: Fri, 27 Sep 2024 07:26:33 +0100 Subject: [PATCH] Try to get image tests working --- .github/workflows/ci.yml | 3 ++- tox.ini | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ba2f369c5..91ee6d18c5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,8 @@ jobs: libdbus-1-dev libgirepository1.0-dev gir1.2-gtk-3.0 gir1.2-notify-0.7 gir1.2-gudev-1.0 graphviz \ imagemagick git xserver-xephyr xterm xvfb dbus-x11 libnotify-bin \ libxcb-composite0-dev libxcb-icccm4-dev libxcb-res0-dev libxcb-render0-dev libxcb-res0-dev \ - libxcb-xfixes0-dev vlc volumeicon-alsa libxkbcommon-dev python-gi-dev tox libcairo2-dev + libxcb-xfixes0-dev vlc volumeicon-alsa libxkbcommon-dev python-gi-dev tox libcairo2-dev \ + gir1.2-gdkpixbuf-2.0 librsvg2-2 librsvg2-dev pip -q install --break-system-packages tox-gh-actions - name: Install wayland if: ${{ matrix.backend == 'wayland' }} diff --git a/tox.ini b/tox.ini index 8086520eff..41703c5c97 100644 --- a/tox.ini +++ b/tox.ini @@ -99,8 +99,8 @@ deps = # pywayland has to be installed before pywlroots commands = {[base]commands} - x11: python -m pytest --backend=x11 {posargs} - wayland: python -m pytest --backend=wayland {posargs} + x11: python -m pytest --backend=x11 -k test_images {posargs} + wayland: python -m pytest --backend=wayland -k test_images {posargs} both: python -m pytest --backend=wayland --backend=x11 {posargs} [testenv:packaging-{x11,wayland}]