snapcrafters / signal-desktop

Unofficial Signal Desktop installer for Linux
https://snapcraft.io/signal-desktop
GNU Affero General Public License v3.0
34 stars 14 forks source link

ci: install signal in desktop vm and take screenshots #213

Closed jnsgruk closed 9 months ago

jnsgruk commented 9 months ago

This is a test that adds the ability to launch a KVM accelerated desktop VM inside the Github Actions runner.

Once running, we push the built snap into the VM and run signal-desktop. From there, we can use gnome-screenshot to get a screenshot of both the whole screen and the specific window we just launched.

Then finish by pulling the screenshot files out of the VM and adding them in a comment on the call for testing post.

jnsgruk commented 9 months ago

@merlijn-sebrechts it worked!

window screen

jnsgruk commented 9 months ago

@merlijn-sebrechts this is ready for review, I've tested the build all works and that the screenshots get uploaded, but obviously can't really test the code that happens after merge just yet!

I've given it a couple of reads, and I think the variables etc. are all wired up correctly, but we'll see when it merges!