From 43179bd6c274a97caa05f2e997e1adebcc7a9796 Mon Sep 17 00:00:00 2001 From: "Wei.He" Date: Sat, 30 Sep 2023 19:00:42 +0800 Subject: [PATCH] - Fix: resolve adb failure issue. --- .github/workflows/CICDTest.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CICDTest.yml b/.github/workflows/CICDTest.yml index 0e87b366..984400c9 100644 --- a/.github/workflows/CICDTest.yml +++ b/.github/workflows/CICDTest.yml @@ -81,8 +81,9 @@ jobs: disable-animations: true disk-size: 6000M heap-size: 600M - script: ./gradlew connectedDebugAndroidTest --daemon - adb logcat -d > logcat_output.txt + script: | + ./gradlew connectedDebugAndroidTest --daemon || echo "UI Test failed" + adb logcat -d > logcat_output.txt - name: Upload logcat output if: always()