Skip to content

Commit c9443d7

Browse files
committed
fix(windows/workflow): load test only to avoid #1
1 parent 2e9bad0 commit c9443d7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ jobs:
207207
echo "::endgroup::"
208208
209209
- name: run mcp test server
210-
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' )
210+
if: ( matrix.name == 'android' && matrix.arch == 'x86_64' ) || ( matrix.name == 'linux' && matrix.arch == 'x86_64' ) || ( matrix.name == 'macos' && matrix.arch != 'x86_64' )
211211
run: npx @playwright/mcp@latest --port 8931 --headless & sleep 10
212212

213213
- name: android test sqlite-mcp
@@ -225,11 +225,11 @@ jobs:
225225
adb shell "cd /data/local/tmp && sqlite3 \":memory:\" -cmd \".bail on\" \".load ./dist/mcp\" \"SELECT mcp_version();\" && ./android-test"
226226
227227
- name: load test only sqlite-mcp
228-
if: matrix.name == 'linux-musl' || ( matrix.name == 'linux' && matrix.arch == 'arm64' )
228+
if: matrix.name == 'linux-musl' || ( matrix.name == 'linux' && matrix.arch == 'arm64' ) || matrix.name == 'windows'
229229
run: ${{ matrix.name == 'linux-musl' && matrix.arch == 'arm64' && 'docker exec alpine' || '' }} sqlite3 ":memory:" -cmd ".bail on" ".load ./dist/mcp" "SELECT mcp_version();"
230230

231231
- name: test sqlite-mcp
232-
if: ( matrix.name == 'linux' && matrix.arch == 'x86_64' ) || matrix.name == 'windows' || ( matrix.name == 'macos' && matrix.arch != 'x86_64' )
232+
if: ( matrix.name == 'linux' && matrix.arch == 'x86_64' ) || ( matrix.name == 'macos' && matrix.arch != 'x86_64' )
233233
run: make test ${{ matrix.make && matrix.make || ''}}
234234

235235
- uses: actions/[email protected]

0 commit comments

Comments
 (0)