github: upload test reports on failure

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-07-26 16:48:03 +05:30
parent 974bcc6b54
commit 8c2a9a91ef
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80

View file

@ -92,3 +92,10 @@ jobs:
adb shell settings put global transition_animation_scale 0
adb shell settings put global window_animation_scale 0
./gradlew :app:connectedNonFreeDebugAndroidTest
- name: (Fail-only) upload test report
if: failure()
uses: actions/upload-artifact@v2
with:
name: Test report
path: app/build/reports