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..0a68462fd3 100644 --- a/tox.ini +++ b/tox.ini @@ -54,8 +54,8 @@ commands = # pypy3 is very slow when running coverage reports so we skip it pypy3-x11: python3 -m pytest --backend=x11 {posargs} pypy3-wayland: python3 -m pytest --backend=wayland {posargs} - py3{10,11,12}-x11: coverage run -m pytest --backend=x11 {posargs} - py3{10,11,12}-wayland: coverage run -m pytest --backend=wayland {posargs} + py3{10,11,12}-x11: coverage run -m pytest --backend=x11 -k test_images {posargs} + py3{10,11,12}-wayland: coverage run -m pytest --backend=wayland -k test_images {posargs} # Coverage is only run via GithubActions # Coverage runs tests in parallel so we need to combine results into a single file @@ -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}]