Skip to content

Commit 9a46623

Browse files
Add emulator boot wait step to Android CI workflow
Co-authored-by: jaredmixpanel <10504508+jaredmixpanel@users.noreply.github.com>
1 parent e54131e commit 9a46623

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/android.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ jobs:
1818
api-level: 34
1919
profile: Nexus 5X
2020
arch: x86_64
21-
script: ./gradlew createDebugCoverageReport
21+
script: |
22+
adb wait-for-device
23+
adb shell 'while [[ $(getprop sys.boot_completed) != "1" ]]; do sleep 1; done;'
24+
./gradlew createDebugCoverageReport
2225
- name: Lint
2326
run: ./gradlew lint
2427
- name: Upload test report

0 commit comments

Comments
 (0)