Skip to content

Commit

Permalink
Try to get image tests working
Browse files Browse the repository at this point in the history
  • Loading branch information
elParaguayo committed Sep 27, 2024
1 parent 46bf208 commit 6611679
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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}]
Expand Down

0 comments on commit 6611679

Please sign in to comment.