From 3cd1134b0066276e80b60a40bcf76936d5dd68fc 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 f0d65151..84837899 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -156,7 +156,8 @@ jobs: env | grep '^JAVA' touch emulator.log chmod 770 emulator.log - adb logcat >> emulator.log & + adb logcat -c + adb logcat | grep 'rustls' | tee emulator.log & ./gradlew connectedDebugAndroidTest - name: Upload Android test results @@ -167,7 +168,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.