diff --git a/Makefile b/Makefile index 67561adf..8779f579 100644 --- a/Makefile +++ b/Makefile @@ -148,7 +148,7 @@ changelog-gate: ## Changelog concision gate — fails on `## [Unreleased]` bulle ci/changelog_gate.sh .PHONY: smoke-bundle -smoke-bundle: ## Build Linux release bundle and run it under xvfb for 5s. +smoke-bundle: gen-build-info ## Build Linux release bundle and run it under xvfb for 5s. ci/smoke_bundle.sh # -- web UI harness ------------------------------------------------------ diff --git a/ci/test_integration.sh b/ci/test_integration.sh index b2fec5c9..fdd241c2 100755 --- a/ci/test_integration.sh +++ b/ci/test_integration.sh @@ -3,10 +3,16 @@ # start" regression gate. Flutter integration tests prefer one file at # a time on desktop; we iterate to avoid the "Unable to start the app" # error that hits when they run as a batch. +# +# -d linux pins the desktop device explicitly: the GitHub ubuntu-latest +# runner exposes BOTH a linux desktop AND a chrome web device, so a bare +# `flutter test integration_test/...` aborts with "More than one device +# connected" before it ever compiles (the dev box / old Gitea runner only +# had the one device, so this was latent until CI moved to GitHub). set -euo pipefail cd "$(dirname "$0")/.." for f in integration_test/*_test.dart; do echo "==> integration_test: $f" - flutter test "$f" + flutter test -d linux "$f" done