File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -107,11 +107,11 @@ jobs:
107107 shell : bash
108108 run : |
109109 export PATH=$ANDROID_HOME/platform-tools:$ANDROID_HOME/emulator:$PATH
110+ sdkmanager --list_installed
110111 sdkmanager "platforms;android-${API_LEVEL}"
111112 sdkmanager --install "system-images;android-${API_LEVEL};${TARGET};${ARCH}"
112113 sdkmanager --update
113114 echo "no" | avdmanager -v create avd --force --name "$DEVICE_NAME" --package "system-images;android-${API_LEVEL};${TARGET};${ARCH}" --tag "$TARGET" --sdcard 128M --device "$DEVICE_TYPE"
114- ls -al ~/.android/avd
115115 sudo adduser $USER kvm
116116 sudo chown $USER /dev/kvm
117117 ${ANDROID_HOME}/emulator/emulator -avd "${DEVICE_NAME}" -memory 2048 -wipe-data -no-boot-anim -noaudio -no-window -accel off -partition-size 8192 &
@@ -162,21 +162,20 @@ jobs:
162162 sdcard-path-or-size : 128M
163163 ram-size : 2048M
164164 disk-size : 4096M
165+ emulator-port : 5554
165166 disable-animations : true
166167 cmake : 3.10.2.4988404
167168 emulator-options : -no-window -noaudio -no-boot-anim -memory 2048 -wipe-data -cache-size 1000 -partition-size 8192
168169 pre-emulator-launch-script : |
169170 sdkmanager --list_installed
170171 script : |
172+ adb logcat -c
173+ adb logcat &
171174 adb wait-for-device
172175 adb shell input keyevent 82
173176 adb shell pm list instrumentation
174177 adb devices && adb shell getprop
175- ./gradlew :example:assembleDebugAndroidTest
176- ./gradlew :lib:assembleDebugAndroidTest
177- ./gradlew :lib:testDebugUnitTest && ./gradlew jacocoFullReport --info
178178
179- ./gradlew connectedCheck
180179 adb wait-for-device shell 'while [[ -z $(getprop dev.bootcomplete) ]]; do sleep 1; done;'
181180 echo "XXXXXX YYY ZZZ"
182181
You can’t perform that action at this time.
0 commit comments