File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed
Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -123,21 +123,14 @@ jobs:
123123 ~/.android/adb*
124124 key : avd-${{ matrix.api-level }}
125125
126- - name : create AVD and generate snapshot for caching
127- if : steps.avd-cache.outputs.cache-hit != 'true'
128- uses : reactivecircus/android-emulator-runner@v2
129- with :
130- api-level : ${{ matrix.api-level }}
131- force-avd-creation : false
132- emulator-options : -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-front emulated -camera-back emulated
133- disable-animations : false
134- script : echo "Generated AVD snapshot for caching."
135-
136126 - name : Run Instrumentation Tests
137127 uses : reactivecircus/android-emulator-runner@v2
138128 with :
139129 api-level : ${{ matrix.api-level }}
140130 force-avd-creation : false
141131 emulator-options : -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-front emulated -camera-back emulated
142132 disable-animations : true
143- script : ./gradlew connectedCheck
133+ script : |
134+ adb wait-for-device
135+ adb shell input keyevent 82
136+ ./gradlew connectedAndroidTest --continue
You can’t perform that action at this time.
0 commit comments