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
+8
View File
@@ -81,6 +81,14 @@ install_all_windows_apps() {
! grep -q '^curl ' "$STUB_LOG"
}
@test "windows apps: HAMPACK_SKIP_WINDOWS_APPS skips them, even at the desktop" {
export DISPLAY=:0 HAMPACK_SKIP_WINDOWS_APPS=1
run bash "$REPO/install-windows-apps.sh"
[ "$status" -eq 0 ]
[[ "$output" == *"HAMPACK_SKIP_WINDOWS_APPS is set"* ]]
! grep -qE '^(curl|winetricks|wine) ' "$STUB_LOG"
}
@test "windows apps: winetricks runs only once" {
export DISPLAY=:0
mkdir -p "$HOME/.wine"