Update plotly-resources.yaml #50
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GUI test | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
- feature/* | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
container: archlinux | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install packages | |
run: | | |
pacman -Suy --noconfirm | |
pacman -S --noconfirm systemd python-pip pkgconf gcc gobject-introspection gtk4 libadwaita webkitgtk-6.0 gnome-session mutter | |
systemd-machine-id-setup | |
- name: Install python packages | |
run: | | |
pip install --break-system-packages wheel | |
pip install --break-system-packages -e .[test] | |
- name: Demo | |
run: | | |
export XDG_RUNTIME_DIR=$(mktemp -d) | |
eval $(dbus-launch --auto-syntax) | |
dbus-run-session gnome-session | |
mutter --wayland --no-x11 --sm-disable --headless -- python test/test_demo.py | |
- name: Upload screenshot | |
uses: actions/upload-artifact@v4 | |
with: | |
path: screenshot.png |