Skip to content

Commit c67892d

Browse files
committed
fix(linux-musl-arm64/workflow): missing docker exec command in the load test step
1 parent 13ae673 commit c67892d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,7 @@ jobs:
208208
209209
- name: run mcp test server
210210
if: ( matrix.name == 'android' && matrix.arch == 'x86_64' ) || ( matrix.name == 'linux' && matrix.arch == 'x86_64' ) || 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
211+
run: npx @playwright/mcp@latest --port 8931 --headless & sleep 10
214212

215213
- name: android test sqlite-mcp
216214
if: matrix.name == 'android' && matrix.arch != 'arm64-v8a' && matrix.arch != 'armeabi-v7a'
@@ -228,7 +226,7 @@ jobs:
228226
229227
- name: load test only sqlite-mcp
230228
if: matrix.name == 'linux-musl' || ( matrix.name == 'linux' && matrix.arch == 'arm64' )
231-
run: sqlite3 ":memory:" -cmd ".bail on" ".load ./dist/mcp" "SELECT mcp_version();"
229+
run: ${{ matrix.name == 'linux-musl' && matrix.arch == 'arm64' && 'docker exec alpine' || '' }} sqlite3 ":memory:" -cmd ".bail on" ".load ./dist/mcp" "SELECT mcp_version();"
232230

233231
- name: test sqlite-mcp
234232
if: ( matrix.name == 'linux' && matrix.arch == 'x86_64' ) || matrix.name == 'windows' || ( matrix.name == 'macos' && matrix.arch != 'x86_64' )

0 commit comments

Comments
 (0)