{"id":23988846,"url":"https://github.com/philip-bui/android-ci","last_synced_at":"2025-02-25T03:13:12.530Z","repository":{"id":52410133,"uuid":"169825309","full_name":"philip-bui/android-ci","owner":"philip-bui","description":"Android CI Scripts.","archived":false,"fork":false,"pushed_at":"2021-04-29T22:03:44.000Z","size":8,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-07T16:18:16.521Z","etag":null,"topics":["android","continous-integration","instrumentation-tests","unit-testing"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/philip-bui.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-09T02:47:33.000Z","updated_at":"2021-02-10T11:45:32.000Z","dependencies_parsed_at":"2022-08-17T19:45:19.392Z","dependency_job_id":null,"html_url":"https://github.com/philip-bui/android-ci","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philip-bui%2Fandroid-ci","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philip-bui%2Fandroid-ci/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philip-bui%2Fandroid-ci/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philip-bui%2Fandroid-ci/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/philip-bui","download_url":"https://codeload.github.com/philip-bui/android-ci/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240593178,"owners_count":19825939,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","continous-integration","instrumentation-tests","unit-testing"],"created_at":"2025-01-07T16:18:25.281Z","updated_at":"2025-02-25T03:13:12.496Z","avatar_url":"https://github.com/philip-bui.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Android CI\n\n[![Docker Pulls](https://img.shields.io/docker/pulls/philipbui/android-ci.svg)](https://hub.docker.com/r/philipbui/android-ci)\n[![Docker Build Status](https://img.shields.io/docker/build/philipbui/android-ci.svg)](https://hub.docker.com/r/philipbui/android-ci/builds)\n[![Docker Automated build](https://img.shields.io/docker/automated/philipbui/android-ci.svg)](https://hub.docker.com/r/philipbui/android-ci/~/dockerfile)\n\n## Setup\n\nUse `philipbui/android-ci` as your Docker image.\n\n### Build\n\n```yaml\nscript:\n  - ./gradlew clean assembleRelease\n\nartifacts:\n  - app/build/outputs\n```\n\n### Unit Tests\n\n```yaml\nscript:\n  - ./gradlew test\n  \nartifacts:\n  - app/build/reports/tests\n```\n\n### Instrumentation Tests\n\n```yaml\nscript:\n  - echo no|avdmanager -s create avd -n test -f -k \"system-images;android-25;google_apis;arm64-v8a\"\n  - emulator -avd test -no-audio -no-window \u0026 source \u003c(curl -sSL https://raw.githubusercontent.com/philip-bui/android-ci/master/wait-for-emulator.sh)\n  - adb shell settings put global window_animation_scale 0 \u0026\n  - adb shell settings put global transition_animation_scale 0 \u0026\n  - adb shell settings put global animator_duration_scale 0\n  - adb shell input keyevent 82\n  - ./gradlew cAT\n  - source \u003c(curl -sSL https://raw.githubusercontent.com/philip-bui/android-ci/master/stop-emulators.sh)\n\nartifacts:\n  - app/build/reports/androidTest/connected/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilip-bui%2Fandroid-ci","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilip-bui%2Fandroid-ci","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilip-bui%2Fandroid-ci/lists"}