Skip to content

ci: add Android build and test workflow - #3

Open
evnchn wants to merge 2 commits into
masterfrom
ci/android-build
Open

evnchn wants to merge 2 commits into
masterfrom
ci/android-build

Conversation

@evnchn

@evnchn evnchn commented Aug 13, 2026

Copy link
Copy Markdown

Adds GitHub Actions CI for Android builds, tests, and lint checks

Generated with Qwen Code (9-shotted by Qwen-Coder)

evnchn and others added 2 commits August 14, 2026 02:12
- Build debug APK on every push/PR
- Run unit tests
- Run lint checks
- Upload APK as artifact
`./gradlew build` runs validateSigningRelease, which requires
app/chromeclone.keystore. That file is gitignored and generated
per-checkout, so it never exists on a runner — every run failed with
`Execution failed for task ':app:validateSigningRelease'`.

Build assembleDebug / testDebugUnitTest / lintDebug instead. Debug does
not touch the release signing config, so CI also stays green once the
keystore credentials move out of build.gradle into local.properties
(PR #1) — which a runner will not have either.

Also:
- Drop the redundant `test` and `lint` steps (`build` already ran both).
- if-no-files-found: error on the APK upload, so a missing artifact
  fails loudly instead of passing silently.
- Add concurrency guard, timeout-minutes, permissions: read and
  workflow_dispatch.
- Upload the lint report for triage.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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