Skip to content

Android emulator tests: boot the emulator with the runner's SDK (marketplace actions are not allowed) - #825

Merged
ASDAlexander77 merged 2 commits into
mainfrom
android-emulator-no-3rdparty
Nov 12, 2026
Merged

ASDAlexander77 merged 2 commits into
mainfrom
android-emulator-no-3rdparty

Conversation

@ASDAlexander77

Copy link
Copy Markdown
Owner

The re-tagged v0.0-pre-alpha125 release run failed at startup. So did #823's own Test - Android (emulator) run, which let #823 merge without a real run. The cause: this repository allows GitHub-owned actions only (allowed_actions: selected, no patterns), and test-android.yml used reactivecircus/android-emulator-runner. create-release.yml calls that workflow, so the refusal stopped the whole release.

The run job now does what the action did, with the Ubuntu runner's own Android SDK:

  • installs emulator, platform-tools and system-images;android-29;default;x86_64 with sdkmanager, and creates the AVD with avdmanager;
  • boots it headless on KVM (-accel on, after the existing KVM step), with 4 GB and 4 cores, and waits up to 10 minutes for sys.boot_completed, printing the emulator log if it doesn't boot;
  • runs run_tests.mjs --run, prints out/results.txt on failure, and stops the emulator.

No other workflow uses an action from outside actions/* or the repository.

This PR changes test-android.yml, so its CI runs the workflow end to end against the latest published release's Windows package. That run is the check this needs before the release is tagged again.

🤖 Generated with Claude Code

ASDAlexander77 and others added 2 commits November 12, 2026 13:08
…a marketplace action

The repository allows GitHub's own actions only, so reactivecircus/android-emulator-runner was
refused and test-android.yml - and create-release.yml, which calls it - failed at startup (the
re-tagged v0.0-pre-alpha125 run, and #823's own run). The job now installs the emulator and an
API 29 x86_64 image with the runner's sdkmanager, creates the AVD, boots it headless on KVM, waits
for sys.boot_completed and runs the tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every release is a pre-release, which GitHub's "latest" leaves out, so `gh release download` with
no tag found none ("release not found") in #825's run. List the newest non-draft release and
download its Windows package by tag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ASDAlexander77
ASDAlexander77 merged commit 8c6a19f into main Nov 12, 2026
0 of 9 checks passed
@ASDAlexander77
ASDAlexander77 deleted the android-emulator-no-3rdparty branch November 12, 2026 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant