github: upload test reports on failure
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
974bcc6b54
commit
8c2a9a91ef
1 changed files with 7 additions and 0 deletions
7
.github/workflows/pull_request.yml
vendored
7
.github/workflows/pull_request.yml
vendored
|
@ -92,3 +92,10 @@ jobs:
|
||||||
adb shell settings put global transition_animation_scale 0
|
adb shell settings put global transition_animation_scale 0
|
||||||
adb shell settings put global window_animation_scale 0
|
adb shell settings put global window_animation_scale 0
|
||||||
./gradlew :app:connectedNonFreeDebugAndroidTest
|
./gradlew :app:connectedNonFreeDebugAndroidTest
|
||||||
|
|
||||||
|
- name: (Fail-only) upload test report
|
||||||
|
if: failure()
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: Test report
|
||||||
|
path: app/build/reports
|
||||||
|
|
Loading…
Reference in a new issue