From 44db6397c578f8dd1fb9d2abb539f203865295a4 Mon Sep 17 00:00:00 2001 From: ComplexSpaces Date: Mon, 11 Mar 2024 17:33:57 -0700 Subject: [PATCH] Fix Android CI log output and uploading --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3486bcf..385a8c2a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -160,7 +160,8 @@ jobs: env | grep '^JAVA' touch emulator.log chmod 770 emulator.log - adb logcat >> emulator.log & + adb logcat --clear + adb logcat | grep 'rustls' | tee emulator.log & ./gradlew connectedDebugAndroidTest - name: Upload Android test results @@ -171,7 +172,7 @@ jobs: name: android-test-results retention-days: 7 path: | - emulator.log + ./android/emulator.log /Users/runner/work/rustls-platform-verifier/rustls-platform-verifier/android/rustls-platform-verifier/build/outputs/androidTest-results/connected/test-result.pb # TODO: Test iOS in CI too.