Skip to content

Commit 00c15f9

Browse files
fix: remove unnecessary commands
1 parent 213ba34 commit 00c15f9

1 file changed

Lines changed: 15 additions & 22 deletions

File tree

.github/workflows/e2e-android.yml

Lines changed: 15 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -69,21 +69,21 @@ jobs:
6969
~/.android/adb*
7070
key: avd-${{ env.API_LEVEL }}
7171

72-
- name: Create AVD and generate snapshot for caching
73-
if: steps.avd-cache.outputs.cache-hit != 'true'
74-
uses: reactivecircus/android-emulator-runner@v2
75-
with:
76-
api-level: ${{ env.API_LEVEL }}
77-
target: default
78-
profile: pixel_2
79-
ram-size: '4096M'
80-
disk-size: '5G'
81-
disable-animations: false
82-
force-avd-creation: false
83-
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
84-
avd-name: e2e_emulator
85-
arch: x86_64
86-
script: echo "Generated AVD snapshot for caching."
72+
# - name: Create AVD and generate snapshot for caching
73+
# if: steps.avd-cache.outputs.cache-hit != 'true'
74+
# uses: reactivecircus/android-emulator-runner@v2
75+
# with:
76+
# api-level: ${{ env.API_LEVEL }}
77+
# target: default
78+
# profile: pixel_2
79+
# ram-size: '4096M'
80+
# disk-size: '5G'
81+
# disable-animations: false
82+
# force-avd-creation: false
83+
# emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
84+
# avd-name: e2e_emulator
85+
# arch: x86_64
86+
# script: echo "Generated AVD snapshot for caching."
8787

8888
- name: Run emulator, Metro, and E2E
8989
uses: reactivecircus/android-emulator-runner@v2
@@ -104,13 +104,6 @@ jobs:
104104
# Install example app node dependencies
105105
yarn --cwd apps/${{ env.WORKING_DIRECTORY }} install
106106
107-
# Wait for emulator to boot fully
108-
$ANDROID_HOME/platform-tools/adb wait-for-device
109-
$ANDROID_HOME/platform-tools/adb shell 'while [[ -z $(getprop sys.boot_completed) ]]; do sleep 1; done;'
110-
111-
# Set up ADB reverse for Metro
112-
$ANDROID_HOME/platform-tools/adb reverse tcp:8081 tcp:8081
113-
114107
# Start Metro in the background
115108
E2E=true yarn --cwd apps/${{ env.WORKING_DIRECTORY }} start &> output.log &
116109

0 commit comments

Comments
 (0)