Skip to content

Commit dcbae4a

Browse files
committed
Fix client-integration-tests.yml Windows job
1 parent 8747546 commit dcbae4a

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
@@ -115,9 +115,14 @@ jobs:
115115
## Run integration tests. This script builds the server bundle and runs tests.
116116
## We do NOT use 'npm run build-and-test' as it runs query unit tests which
117117
## have a dedicated workflow (query-unit-tests.yml).
118+
##
119+
## On Windows, GNU Make's SHELL := bash resolves to WSL's bash.exe
120+
## (C:\Windows\System32\bash.exe) instead of Git Bash, causing
121+
## "Windows Subsystem for Linux has no installed distributions" errors.
122+
## We override SHELL with the full Git Bash path to avoid this.
118123
- name: MCP Integration Tests - Run integration tests
119124
shell: bash
120-
run: make -C client test-integration
125+
run: make -C client test-integration SHELL="$(which bash)"
121126

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

0 commit comments

Comments
 (0)