Skip to content

Commit dab9f5a

Browse files
Update unit-and-instrumented-tests-action.yml
1 parent 5725eee commit dab9f5a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/unit-and-instrumented-tests-action.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,12 @@ jobs:
5252
echo "no" | $ANDROID_HOME/tools/bin/avdmanager --verbose create avd --force --name test --package "system-images;android-32;google_apis_playstore;x86_64"
5353
# boots and waits for the emulator to be ready
5454
- name: Launch Emulator
55-
timeout-minutes: 30
55+
timeout-minutes: 15
5656
run: |
5757
echo "Starting emulator and waiting for boot to complete."
58-
nohup $ANDROID_HOME/tools/emulator -avd test -no-audio -no-boot-anim -camera-back none -camera-front none -qemu -m 2048 2>&1 &
58+
echo ANDROID_HOME/tools/emulator -list-avds
59+
ANDROID_HOME/tools/emulator -list-avds
60+
nohup $ANDROID_HOME/tools/emulator -avd test -no-metrics -no-audio -no-boot-anim -camera-back none -camera-front none -qemu -m 2048 2>&1 &
5961
$ANDROID_HOME/platform-tools/adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed) ]]; do echo "waiting..."; sleep 1; done; input keyevent 82'
6062
echo "Emulator has finished booting"
6163
# repo's gradle is configured to run on java 17

0 commit comments

Comments
 (0)