File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -127,9 +127,15 @@ run_tests_in_mode() {
127127 echo " 📡 Using stdio transport (client spawns server directly)"
128128 fi
129129
130- # Run the integration tests (skip pack installation since we already did it)
130+ # Run the integration tests.
131+ # Only forward --no-install-packs when the user explicitly requested it,
132+ # so the codeql_pack_install fixture is still exercised by default.
131133 echo " 🧪 Running tests..."
132- " $CLIENT_DIR /gh-ql-mcp-client" integration-tests --mode " $MCP_MODE " --no-install-packs " $@ "
134+ local client_args=(integration-tests --mode " $MCP_MODE " )
135+ if [ " $SKIP_PACK_INSTALL " = true ]; then
136+ client_args+=(--no-install-packs)
137+ fi
138+ " $CLIENT_DIR /gh-ql-mcp-client" " ${client_args[@]} " " $@ "
133139
134140 if [ " $MCP_MODE " = " http" ]; then
135141 # Stop the server before next mode
You can’t perform that action at this time.
0 commit comments