- also uses emulated directory instead of sdcard
This commit is contained in:
Adam Brown 2021-11-09 17:44:49 +00:00
parent 992c3d8a13
commit 968d8e413a
1 changed files with 3 additions and 1 deletions

View File

@ -59,7 +59,9 @@ jobs:
with:
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
api-level: ${{ matrix.api-level }}
script: ./gradlew $CI_GRADLE_ARG_PROPERTIES -PallWarningsAsErrors=false connectedGplayDebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.class=im.vector.app.ui.UiAllScreensSanityTest || adb pull sdcard/Pictures/failure_screenshots
script: |
adb root
./gradlew $CI_GRADLE_ARG_PROPERTIES -PallWarningsAsErrors=false connectedGplayDebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.class=im.vector.app.ui.UiAllScreensSanityTest || adb pull storage/emulated/0/Pictures/failure_screenshots
- uses: actions/upload-artifact@v2
with:
name: failure-screenshots