using single line for the emulator script, doesn't seem to support multiline

This commit is contained in:
Adam Brown 2021-11-09 14:20:50 +00:00
parent 70dd3e5cb9
commit 0ab5734c53

View file

@ -59,12 +59,7 @@ 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: ./gradlew $CI_GRADLE_ARG_PROPERTIES -PallWarningsAsErrors=false connectedGplayDebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.class=im.vector.app.ui.UiAllScreensSanityTest || adb pull sdcard/Pictures/failure_screenshots
- uses: actions/upload-artifact@v2
with:
name: failure-screenshots