20 AI testers on 20 different phones, in parallel, on GitHub's free runners: Claude Code agents on iOS Simulators and Android emulators that find broken flows, translation, layout and accessibility bugs
Python accessibility-testingai-agentsai-testingandroidandroid-emulatorclaudeclaude-codee2e-testingexploratory-testingexpofluttergithub-actionsiosios-simulatorllmmobile-testingqareact-nativetest-automationui-testing
Faster runs: x86_64-only Android builds, Gradle/npm/CocoaPods caches, shorter agent budget
Pierre RAFFALLI24628c90b95a
diff --git a/.github/workflows/agent-testers.yml b/.github/workflows/agent-testers.ymlindex 6bb0a71..67641d5 100644--- a/.github/workflows/agent-testers.yml+++ b/.github/workflows/agent-testers.yml@@ -93,6 +93,13 @@ jobs:with: { node-version: 20 }- uses: actions/setup-java@v4with: { distribution: temurin, java-version: "17" }+ - uses: gradle/actions/setup-gradle@v4 # Gradle cache between runs+ with: { cache-read-only: false }+ - uses: actions/cache@v4+ with:+ path: ~/.npm+ key: npm-android-${{ hashFiles('**/package-lock.json') }}+ restore-keys: npm-android-- name: Build APK (any framework, log kept private)env:APP_DIR: ${{ inputs.source_repo != '' && format('src/{0}', inputs.app_dir) || inputs.app_dir }}@@ -132,6 +139,13 @@ jobs:with: { distribution: temurin, java-version: "17" }- name: Latest Xcoderun: sudo xcode-select -s "$(ls -d /Applications/Xcode_*.app | sort -V | tail -1)"+ - uses: actions/cache@v4+ with:+ path: |+ ~/.npm+ ~/Library/Caches/CocoaPods+ key: npm-pods-ios-${{ hashFiles('**/package-lock.json') }}+ restore-keys: npm-pods-ios-- name: Build Simulator .app (any framework, arm64, unsigned, log kept private)env:APP_DIR: ${{ inputs.source_repo != '' && format('src/{0}', inputs.app_dir) || inputs.app_dir }}diff --git a/AGENT_BRIEF.md b/AGENT_BRIEF.mdindex d5dcea0..894cd08 100644--- a/AGENT_BRIEF.md+++ b/AGENT_BRIEF.md@@ -22,7 +22,7 @@ iOS- Never clear app data or reinstall. Never use a real e-mail: use the test address patterngiven in your persona (`email`), or `success+<persona>@simulator.amazonses.com`.- If you are stuck on the same screen for 5 actions, write it down as an issue and try another path.-- Budget: about 40-60 actions, then write the report. Stop earlier if the app crashes twice.+- Budget: about 30 actions, then write the report. Stop earlier if the app crashes twice.- Write everything under `results/<persona>/`. Nothing else.## What to check (adapt to your app)diff --git a/scripts/build/android.sh b/scripts/build/android.shindex 7aac327..d0ab3fe 100755--- a/scripts/build/android.sh+++ b/scripts/build/android.sh@@ -20,24 +20,24 @@ else case "$FW" inif ! command -v flutter >/dev/null; thenq git clone --depth 1 -b stable https://github.com/flutter/flutter.git "$RUNNER_TEMP/flutter"; export PATH="$RUNNER_TEMP/flutter/bin:$PATH"fi- q flutter pub get && q flutter build apk --release || fail+ q flutter pub get && q flutter build apk --release --target-platform android-x64 || failOUT=build/app/outputs/flutter-apk/app-release.apk ;;expo)npm_install; q env CI=1 npx expo prebuild --platform android --no-install || fail- (cd android && q ./gradlew assembleRelease --no-daemon) || fail; OUT=$(apk android release) ;;+ (cd android && q ./gradlew assembleRelease -PreactNativeArchitectures=x86_64 --build-cache) || fail; OUT=$(apk android release) ;;react-native)- npm_install; (cd android && q ./gradlew assembleRelease --no-daemon) || fail; OUT=$(apk android release) ;;+ npm_install; (cd android && q ./gradlew assembleRelease -PreactNativeArchitectures=x86_64 --build-cache) || fail; OUT=$(apk android release) ;;capacitor)# Release APKs are unsigned in a fresh Capacitor project: the debug APK is self-containednpm_install; q npm run build --if-present; q npx cap sync android || fail- (cd android && q ./gradlew assembleDebug --no-daemon) || fail; OUT=$(apk android debug) ;;+ (cd android && q ./gradlew assembleDebug --build-cache) || fail; OUT=$(apk android debug) ;;maui)TF=$(grep -ohE 'net[0-9.]+-android' ./*.csproj | head -1)q dotnet workload install maui-android && q dotnet publish -f "$TF" -c Release -p:AndroidPackageFormat=apk -o "$RUNNER_TEMP/maui" || failOUT=$(find "$RUNNER_TEMP/maui" -name '*-Signed.apk' | head -1) ;;kmp|native)D=.; [ -x ./gradlew ] || D=android- (cd "$D" && chmod +x gradlew && q ./gradlew assembleDebug --no-daemon) || fail; OUT=$(apk "$D" debug) ;;+ (cd "$D" && chmod +x gradlew && q ./gradlew assembleDebug --build-cache) || fail; OUT=$(apk "$D" debug) ;;*) echo "::error::Unknown framework $FW"; exit 1 ;;esac; fi[ -n "${OUT:-}" ] && [ -f "$OUT" ] || { echo "::error::No APK found after the $FW build"; exit 1; }