debugging
Some checks failed
continuous-integration/drone/push Build was killed

This commit is contained in:
2026-02-27 21:25:48 +01:00
parent 6987509187
commit 77bd61ecec
2 changed files with 6 additions and 4 deletions

View File

@@ -15,6 +15,8 @@ set -euo pipefail
RESULT_FILE=/tmp/e2e-results.txt
LOCAL_MODE=false
APPIUM_PID=""
EXPO_PID=""
ANDROID_HOME="${ANDROID_HOME:-/opt/android-sdk}"
export ANDROID_HOME
export PATH="$PATH:$ANDROID_HOME/cmdline-tools/latest/bin:$ANDROID_HOME/platform-tools:$ANDROID_HOME/emulator"
@@ -152,8 +154,8 @@ run_tests() {
cleanup() {
echo "--- Cleanup ---"
kill "$APPIUM_PID" 2>/dev/null || true
kill "$EXPO_PID" 2>/dev/null || true
[[ -n "$APPIUM_PID" ]] && kill "$APPIUM_PID" 2>/dev/null || true
[[ -n "$EXPO_PID" ]] && kill "$EXPO_PID" 2>/dev/null || true
adb emu kill 2>/dev/null || true
}