File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -65,11 +65,12 @@ jobs:
65
65
emulator-build : 7425822 # workaround to emulator bug: https://github.com./ReactiveCircus/android-emulator-runner/issues/160
66
66
script : |
67
67
adb root
68
+ adb shell mkdir -p storage/emulated/0/Pictures/failure_screenshot
68
69
adb logcat -c
69
70
touch emulator.log
70
71
chmod 777 emulator.log
71
72
adb logcat >> emulator.log &
72
- ./gradlew $CI_GRADLE_ARG_PROPERTIES -PallWarningsAsErrors=false connectedGplayDebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.class=im.vector.app.ui.UiAllScreensSanityTest || adb pull storage/emulated/0/Pictures/failure_screenshots
73
+ ./gradlew $CI_GRADLE_ARG_PROPERTIES -PallWarningsAsErrors=false connectedGplayDebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.class=im.vector.app.ui.UiAllScreensSanityTest || ( adb pull storage/emulated/0/Pictures/failure_screenshot && exit 1)
73
74
- name : Upload Test Report Log
74
75
uses : actions/upload-artifact@v2
75
76
with :
You can’t perform that action at this time.
0 commit comments