Skip to content

Commit 9e20ece

Browse files
committed
fix(android/workflow): update test script path and cleanup build directory
1 parent 7377440 commit 9e20ece

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ 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+
mv build/test ./test
205206
rm -rf build # free space for the emulator
206207
echo "::endgroup::"
207208
@@ -217,7 +218,7 @@ jobs:
217218
adb push ${{ github.workspace }}/. /data/local/tmp/
218219
adb shell "mv -f /data/local/tmp/sqlite3 /system/xbin"
219220
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"
221+
adb shell "cd /data/local/tmp && sqlite3 \":memory:\" -cmd \".bail on\" \".load ./dist/mcp\" \"SELECT mcp_version();\" && ./test"
221222
222223
- name: linux-musl x86_64 test sqlite-mcp
223224
if: matrix.name == 'linux-musl' && matrix.arch == 'x86_64'

0 commit comments

Comments
 (0)