@@ -206,33 +206,33 @@ jobs:
206206 rm -rf build # free space for the emulator
207207 echo "::endgroup::"
208208
209+ - name : run mcp test server
210+ if : ( matrix.name == 'android' && matrix.arch == 'x86_64' ) || matrix.name == 'linux' || ( matrix.name == 'linux-musl' && matrix.arch == 'arm64' ) || matrix.name == 'windows' || ( matrix.name == 'macos' && matrix.arch != 'x86_64' )
211+ run : |
212+ ${{ matrix.name == 'linux-musl' && matrix.arch == 'arm64' && 'docker exec alpine' || '' }} \
213+ npx @playwright/mcp@latest --port 8931 --headless & sleep 10
214+
209215 - name : android test sqlite-mcp
210216 if : matrix.name == 'android' && matrix.arch != 'arm64-v8a' && matrix.arch != 'armeabi-v7a'
211217 uses :
reactivecircus/[email protected] 212218 with :
213219 api-level : 26
214220 arch : ${{ matrix.arch }}
215221 script : |
216- npx @playwright/mcp@latest --port 8931 --headless & sleep 10
217222 adb root
218223 adb remount
219224 adb push ${{ github.workspace }}/. /data/local/tmp/
220225 adb shell "mv -f /data/local/tmp/sqlite3 /system/xbin"
221226 adb reverse tcp:8931 tcp:8931
222227 adb shell "cd /data/local/tmp && sqlite3 \":memory:\" -cmd \".bail on\" \".load ./dist/mcp\" \"SELECT mcp_version();\" && ./android-test"
223- exit 0
224228
225229 - name : linux-musl x86_64 test sqlite-mcp
226230 if : matrix.name == 'linux-musl' && matrix.arch == 'x86_64'
227231 run : sqlite3 ":memory:" -cmd ".bail on" ".load ./dist/mcp" "SELECT mcp_version();"
228232
229233 - name : test sqlite-mcp
230234 if : matrix.name == 'linux' || ( matrix.name == 'linux-musl' && matrix.arch == 'arm64' ) || matrix.name == 'windows' || ( matrix.name == 'macos' && matrix.arch != 'x86_64' )
231- run : |
232- ${{ matrix.name == 'linux-musl' && matrix.arch == 'arm64' && 'docker exec alpine' || '' }} \
233- npx @playwright/mcp@latest --port 8931 --headless & \
234- sleep 3 && \
235- make test ${{ matrix.make && matrix.make || ''}}
235+ run : make test ${{ matrix.make && matrix.make || ''}}
236236
237237238238 if : always()
0 commit comments