Repository navigation
Emulator end-to-end tests on GitHub-hosted runners - #13
Open
tobiasKaminsky wants to merge 4 commits into
Open
tobiasKaminsky wants to merge 4 commits into
tobiasKaminsky wants to merge 4 commits into
Conversation
The development machine has no KVM, so instrumented tests run in a repository workflow on GitHub-hosted runners (which have KVM): Nextcloud 33 and the self-signed HTTPS proxy from scripts/test-server.sh, an API 35 emulator (cached snapshot) reaching them at 10.0.2.2, Test Orchestrator with cleared app data per test. First tests (SignInTest): nc://login link with confirmation, self-signed certificate trust, a second account and removing the first. The Login Flow v2 browser hand-off and SSO stay on the manual test plan. scripts/test-server.sh: TLS_HOST for the proxy's certificate address. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Nb4eMg7ShMcjycNqaRBq3z Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
They are resolved only when tests run on a device, so a local strict run did not see them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Nb4eMg7ShMcjycNqaRBq3z Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
In the Nextcloud organisation ubuntu-latest is mostly served by self-hosted runners without KVM. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Nb4eMg7ShMcjycNqaRBq3z Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
Maven Central rate-limits GitHub-hosted runners (HTTP 429); the mirror serves the same files. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Nb4eMg7ShMcjycNqaRBq3z Signed-off-by: Tobias Kaminsky <tobias@nextcloud.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 development machine has no KVM, so instrumented tests run on GitHub-hosted runners, which have KVM.
.github/workflows/emulator.yml(repository workflow, not synced from android-config): on PRs tomain, nightly and on demandscripts/test-server.sh, now withTLS_HOST=10.0.2.2so the certificate matches the emulator's address for the host)connectedQaDebugAndroidTestwith the server URLs as instrumentation arguments; reports uploaded on failureapp/src/androidTest: Test Orchestrator with cleared app data per test;SignInTest:nc://loginlink → "Log in?" → signed inNot automatable on a stock emulator, so these stay on the manual test plan: the Login Flow v2 browser hand-off, SSO with a real Files app, and QR scanning with the camera.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Nb4eMg7ShMcjycNqaRBq3z