Fix Xcode Cloud UI tests by running TestAction in Debug (#672)

* Set cmux TestAction to Debug for UI tests

* Broaden XCTest detection for debug launch gate

* Fix AutomationSocketUITests launch hang in CI

* Stabilize CI Swift package resolution for test jobs

* Stabilize Xcode Cloud UI test focus and socket handling

* Add Xcode Cloud pre-xcodebuild submodule bootstrap

* Harden Xcode Cloud bonsplit bootstrap fallback
This commit is contained in:
Lawrence Chen 2026-02-28 01:48:49 -08:00 committed by GitHub
parent 168e6b9b25
commit 7916b2d418
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 552 additions and 144 deletions

View file

@ -0,0 +1,16 @@
#!/usr/bin/env bash
set -euo pipefail
SCHEME_FILE="GhosttyTabs.xcodeproj/xcshareddata/xcschemes/cmux.xcscheme"
if [ ! -f "$SCHEME_FILE" ]; then
echo "FAIL: Missing scheme file at $SCHEME_FILE" >&2
exit 1
fi
if ! grep -q '<TestAction buildConfiguration="Debug"' "$SCHEME_FILE"; then
echo "FAIL: cmux scheme TestAction must use Debug build configuration for UI test setup hooks" >&2
exit 1
fi
echo "PASS: cmux scheme TestAction uses Debug"