Skip to content

Commit

Permalink
Switch to GitHub actions for E2E tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stevesoltys committed Sep 27, 2023
1 parent 0b31000 commit 02aab8c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
path: |
~/.android/avd/*
~/.android/adb*
key: avd-33
key: abcd

- name: Build Release APK
run: ./gradlew :app:assembleRelease
Expand Down
6 changes: 5 additions & 1 deletion app/development/scripts/provision_emulator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ else
sleep 1
fi

$SCRIPT_DIR/start_emulator.sh "$EMULATOR_NAME"
EMULATOR_DEVICE_NAME=$($ANDROID_HOME/platform-tools/adb devices | grep emulator | cut -f1)

if [ -z "$EMULATOR_DEVICE_NAME" ]; then
$SCRIPT_DIR/start_emulator.sh "$EMULATOR_NAME"
fi

# wait for emulator device to appear with 180 second timeout
echo "Waiting for emulator device..."
Expand Down

0 comments on commit 02aab8c

Please sign in to comment.