Skip to content

Commit 0c70ffc

Browse files
committed
Fix client-integration-tests.yml Windows job
1 parent 2877cd1 commit 0c70ffc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/client-integration-tests.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,14 @@ jobs:
113113
## Run integration tests. This script builds the server bundle and runs tests.
114114
## We do NOT use 'npm run build-and-test' as it runs query unit tests which
115115
## have a dedicated workflow (query-unit-tests.yml).
116+
##
117+
## On Windows, GNU Make's SHELL := bash resolves to WSL's bash.exe
118+
## (C:\Windows\System32\bash.exe) instead of Git Bash, causing
119+
## "Windows Subsystem for Linux has no installed distributions" errors.
120+
## We override SHELL with the full Git Bash path to avoid this.
116121
- name: MCP Integration Tests - Run integration tests
117122
shell: bash
118-
run: make -C client test-integration
123+
run: make -C client test-integration SHELL="$(which bash)"
119124

120125
- name: MCP Integration Tests - Stop the background MCP server process
121126
if: always() && matrix.mcp-mode == 'http'

0 commit comments

Comments
 (0)