CI experiment

Change-Id: I2628c43c7ede114ef7e6c6e6abfbf19a7092ce22
ja/edge-to-edge-dropshots
Jose Alcérreca 1 month ago
parent 9a436211b5
commit 62cf6ce390

@ -323,7 +323,7 @@ jobs:
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
# Run tests, if they fail, record screenshots and exit with a failure
script: >
set +o pipefail &&
set +e ; # do not fail fast
./gradlew connectedDemoDebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.annotation=com.google.samples.apps.nowinandroid.ui.InstrumentedScreenshotTests --daemon
|| echo "Recording new screenshots"
; ./gradlew connectedDemoDebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.annotation=com.google.samples.apps.nowinandroid.ui.InstrumentedScreenshotTests -Pdropshots.record --daemon --stacktrace

Loading…
Cancel
Save