Repository navigation
Android emulator tests: boot the emulator with the runner's SDK (marketplace actions are not allowed) - #825
Merged
Merged
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The re-tagged
v0.0-pre-alpha125release run failed at startup. So did #823's ownTest - 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), andtest-android.ymlusedreactivecircus/android-emulator-runner.create-release.ymlcalls 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:
emulator,platform-toolsandsystem-images;android-29;default;x86_64withsdkmanager, and creates the AVD withavdmanager;-accel on, after the existing KVM step), with 4 GB and 4 cores, and waits up to 10 minutes forsys.boot_completed, printing the emulator log if it doesn't boot;run_tests.mjs --run, printsout/results.txton 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