github: disable unneeded emulator runner

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2021-02-25 19:55:33 +05:30
parent 095cb8d3a1
commit 5d74c6787f
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80

View file

@ -21,16 +21,16 @@ jobs:
with:
arguments: test --stacktrace
- name: Run instrumentation tests
uses: reactivecircus/android-emulator-runner@08b092e904025fada32a01b711af1e7ff7b7a4a3
with:
api-level: 23
target: default
script: |
adb shell settings put global animator_duration_scale 0
adb shell settings put global transition_animation_scale 0
adb shell settings put global window_animation_scale 0
./gradlew :app:connectedDebugAndroidTest
# - name: Run instrumentation tests
# uses: reactivecircus/android-emulator-runner@08b092e904025fada32a01b711af1e7ff7b7a4a3
# with:
# api-level: 23
# target: default
# script: |
# adb shell settings put global animator_duration_scale 0
# adb shell settings put global transition_animation_scale 0
# adb shell settings put global window_animation_scale 0
# ./gradlew :app:connectedDebugAndroidTest
- name: (Fail-only) upload test report
if: failure()