From a4deff22725a5bb80c94413bbee80a9ec4a3573d Mon Sep 17 00:00:00 2001 From: siepra Date: Mon, 15 Apr 2024 15:32:29 +0200 Subject: [PATCH] chore: create and boot avd --- .github/workflows/e2e-android.yml | 8 ++++---- packages/mobile/.detoxrc.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/e2e-android.yml b/.github/workflows/e2e-android.yml index 23fc588113..3d9ed9afd1 100644 --- a/.github/workflows/e2e-android.yml +++ b/.github/workflows/e2e-android.yml @@ -30,11 +30,11 @@ jobs: # git lfs install --force # git lfs pull - - name: List avdmanager - run: $ANDROID_HOME/cmdline-tools/latest/bin/avdmanager list + - name: Create AVD + run: $ANDROID_HOME/cmdline-tools/latest/bin/avdmanager create avd -n emulator_ci -k 'system-images;android-34;google_apis;arm64-v8a' -d 'pixel_7' - # - name: Boot emulator - # run: | # TODO + - name: Boot AVD + run: $ANDROID_HOME/emulator/emulator -avd emulator_ci # - name: Install pm2 # run: npm install pm2@latest -g diff --git a/packages/mobile/.detoxrc.js b/packages/mobile/.detoxrc.js index a03e86f3a9..8ac7d9d0ce 100644 --- a/packages/mobile/.detoxrc.js +++ b/packages/mobile/.detoxrc.js @@ -77,7 +77,7 @@ module.exports = { emulator_ci: { type: 'android.emulator', device: { - avdName: 'Pixel_7_API_31', + avdName: 'emulator_ci', }, }, },