Skip to content

Commit 70392f9

Browse files
committed
fix(android/workflow): add adb reverse command to forward mcp test server to the android emulator
1 parent 38fd0c5 commit 70392f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ jobs:
218218
adb push ${{ github.workspace }}/. /data/local/tmp/
219219
adb shell "mv -f /data/local/tmp/sqlite3 /system/xbin"
220220
npx @playwright/mcp@latest --port 8931 --headless & sleep 3
221+
adb reverse tcp:8931 tcp:8931
221222
adb shell "cd /data/local/tmp && sqlite3 \":memory:\" -cmd \".bail on\" \".load ./dist/mcp\" \"SELECT mcp_version();\" && ./android-test"
222223
223224
- name: linux-musl x86_64 test sqlite-mcp

0 commit comments

Comments
 (0)