Hello,
The openQA tests for GNOME OS are running as ever. Since the last update we are now automatically gating https://os.gnome.org image using the test-s3-image
job, so every new GNOME OS image is promoted to “stable” if the tests pass.
The testsuite itself is still small, as we only want tests that people will love and care about. We just have one test for each core app in the GNOME OS tests repo (openqa-tests.git). More detailed app tests need to be maintained in the app’s own Git repo, so they can run on feature branches and merge request pipelines before changes are merged. So we have been waiting for that to become possible.
And now it is!
App tests
This week I made the first CI pipeline which builds a Flatpak app (in this case Amberol), then runs an openQA test which installs and runs the Flatpak bundle that was just built, on the latest GNOME OS image from os.gnome.org.
Here’s the Gitlab CI pipeline and the openQA test job. The whole build + test pipeline took just under 6 minutes.
There is plenty to improve here, and I would love to have some project teams become early adopters and help me figure out how we can make this useful for all GNOME teams. Let me know in the replies if you’re interested in helping. The only requirement is that your app publishes a Flatpak bundle in CI.
(Testing for system components like GNOME Shell is also planned, this requires using systemd-sysext rather than Flatpak to deploy the module into the GNOME OS image, and the remaining challenge is building ABI-compatible sysexts in CI pipelines).
Outreachy
It’s a particularly good time to get involved because we are participating in Outreachy this season. From December to February we expect to have two interns working full time on end-to-end testing. The participants will be confirmed next Monday 20th November.
The main goals are system-level tests around mobile form factor and accessibility features, but there will be time to create tests for some core apps as well. So act now and you may get some extra help to set up tests