Skip to content

Commit

Permalink
Disable animations when running tests on emulator
Browse files Browse the repository at this point in the history
  • Loading branch information
penguin359 committed Jan 4, 2022
1 parent aaa0ec3 commit 396fce7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,12 @@ jobs:
force-avd-creation: false
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: true
script: ./gradlew connectedCheck --stacktrace
script: >
adb shell settings put global window_animation_scale 0 &&
adb shell settings put global transition_animation_scale 0 &&
adb shell settings put global animator_duration_scale 0 &&
adb shell input keyevent 82 &&
./gradlew connectedCheck --stacktrace
- name: Upload reports
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 396fce7

Please sign in to comment.