Skip to content

Commit 0e57fd9

Browse files
fix: use proper emulator
1 parent 00c15f9 commit 0e57fd9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/e2e-android.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
with:
9191
api-level: ${{ env.API_LEVEL }}
9292
target: default
93-
profile: pixel_2
93+
profile: pixel_8_pro
9494
ram-size: '4096M'
9595
disk-size: '5G'
9696
disable-animations: false
@@ -104,6 +104,9 @@ jobs:
104104
# Install example app node dependencies
105105
yarn --cwd apps/${{ env.WORKING_DIRECTORY }} install
106106
107+
# Set up ADB reverse for Metro
108+
$ANDROID_HOME/platform-tools/adb reverse tcp:8081 tcp:8081
109+
107110
# Start Metro in the background
108111
E2E=true yarn --cwd apps/${{ env.WORKING_DIRECTORY }} start &> output.log &
109112

0 commit comments

Comments
 (0)