Skip to content

Commit

Permalink
Save logcat logs from failed test runs
Browse files Browse the repository at this point in the history
  • Loading branch information
penguin359 committed Jan 30, 2022
1 parent 80ad712 commit 081d717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
force-avd-creation: false
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: true
script: ./gradlew connectedCheck --stacktrace
script: adb logcat -c && adb logcat -f /sdcard/logcat.txt & ./gradlew connectedCheck --stacktrace || ( adb pull /sdcard/logcat.txt build/reports/; exit 1 )

- name: Upload reports
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 081d717

Please sign in to comment.