Add a smoketest, run on CoreDesktop's with coredesktop-dev
check / lint-and-test (push) Successful in 1m37s
check / packages (push) Successful in 23s

`coredesktop-dev smoketest run --with HamPack` installs HamPack on a VM with
CoreDesktop and checks a fresh install, an update with nothing to do, a
one-app rebuild, a failing build and hampackremove, with smoketest/health
checking every package, Flatpak and app is in place.

HAMPACK_SKIP_WINDOWS_APPS skips the Windows installers, which the test VMs'
desktop would start with no one to click through them; smoketest/setup sets
it in each VM.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
David Young
2026-11-26 10:15:11 -07:00
co-authored by Claude Opus 5.5
parent bc536407c4
commit e8fbe256df
16 changed files with 417 additions and 2 deletions
+7
View File
@@ -127,6 +127,13 @@ done
[ ${#missing[@]} -eq 0 ] && exit 0
# HamPack's smoketest sets this: its test machines have a desktop, but no one
# to click through the installers
if [ -n "${HAMPACK_SKIP_WINDOWS_APPS:-}" ]; then
echo "Not installing Windows applications: HAMPACK_SKIP_WINDOWS_APPS is set."
exit 0
fi
# The installers are Windows GUI programs; without a desktop there's nothing to show them on
if [ -z "$DISPLAY" ] && [ -z "$WAYLAND_DISPLAY" ]; then
echo "Not installing Windows applications without a desktop session; they'll be installed on a later update."