snapcrafters / signal-desktop

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

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

Closed jnsgruk closed 1 year ago

jnsgruk commented 1 year 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 1 year ago

@merlijn-sebrechts it worked!

window screen

jnsgruk commented 1 year 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!