Skip to content

Update plotly-resources.yaml #53

Update plotly-resources.yaml

Update plotly-resources.yaml #53

Workflow file for this run

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