diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2020-07-26 16:48:03 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2020-07-26 16:48:03 +0530 |
commit | 8c2a9a91ef597d0c09a045500f0190436d7f9680 (patch) | |
tree | 4e7e9f08b00fd560f27297a5727939edec5b02a7 /.github/workflows | |
parent | 974bcc6b54bd9476a74cb3455928d9f3d48a9bc5 (diff) |
github: upload test reports on failure
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/pull_request.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 688ac96e..8306d009 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -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 |