mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-15 01:35:07 +08:00
adding screenshot pulling and storing as part of the sanity workflow
This commit is contained in:
parent
2583a6d6bf
commit
0a1f4dd69f
11
.github/workflows/sanity_test.yml
vendored
11
.github/workflows/sanity_test.yml
vendored
@ -58,5 +58,14 @@ jobs:
|
||||
uses: reactivecircus/android-emulator-runner@v2
|
||||
with:
|
||||
api-level: ${{ matrix.api-level }}
|
||||
script: ./gradlew $CI_GRADLE_ARG_PROPERTIES -PallWarningsAsErrors=false connectedGplayDebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.class=im.vector.app.ui.UiAllScreensSanityTest
|
||||
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
|
||||
path: failure_screenshots
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user