File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -202,11 +202,6 @@ jobs:
202202
203203 echo "::group::prepare the test script"
204204 make test PLATFORM=$PLATFORM ARCH=$ARCH || echo "It should fail. Running remaining commands in the emulator"
205- cat > commands.sh << EOF
206- mv -f /data/local/tmp/sqlite3 /system/xbin
207- cd /data/local/tmp
208- $(make test PLATFORM=$PLATFORM ARCH=$ARCH -n)
209- EOF
210205 rm -rf build # free space for the emulator
211206 echo "::endgroup::"
212207
@@ -220,7 +215,9 @@ jobs:
220215 adb root
221216 adb remount
222217 adb push ${{ github.workspace }}/. /data/local/tmp/
223- adb shell "sh /data/local/tmp/commands.sh"
218+ adb shell "mv -f /data/local/tmp/sqlite3 /system/xbin"
219+ npx @playwright/mcp@latest --port 8931 --headless & sleep 3 && \
220+ adb shell "cd /data/local/tmp && sqlite3 \":memory:\" -cmd \".bail on\" \".load ./dist/mcp\" \"SELECT mcp_version();\" && ./build/test"
224221
225222 - name : linux-musl x86_64 test sqlite-mcp
226223 if : matrix.name == 'linux-musl' && matrix.arch == 'x86_64'
You can’t perform that action at this time.
0 commit comments