Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,13 @@ jobs:
chmod 777 emulator.log
adb logcat >> emulator.log &
./gradlew leakcanary:leakcanary-android-core:connectedCheck leakcanary:leakcanary-android:connectedCheck leakcanary:leakcanary-android-instrumentation:connectedCheck --no-build-cache --no-daemon --stacktrace
# Force-kill the emulator before the action's post-step cleanup.
# On API 26 google_apis, the emulator process can hang for 20+ minutes after
# receiving adb emu kill, causing the job to hit its 30-minute timeout. Killing
# the qemu-system process here ensures the post-cleanup kill check exits immediately.
# The [m] bracket trick avoids pkill matching its own parent shell process
# (whose cmdline contains the literal string "qemu-system" as an argument).
pkill -9 -f "qemu-syste[m]" || true
- name: Upload results
if: ${{ always() }}
uses: actions/upload-artifact@v4
Expand Down
Loading