yanand0909 commented on code in PR #356:
URL: https://github.com/apache/flink-agents/pull/356#discussion_r2640709460


##########
.github/workflows/ci.yml:
##########
@@ -63,8 +63,24 @@ jobs:
         with:
           java-version: ${{ matrix.java-version }}
           distribution: 'adopt'
+      - name: Install python
+        uses: actions/setup-python@v4
+        with:
+          python-version: '3.11'
+      - name: Install uv
+        uses: astral-sh/setup-uv@v4
+        with:
+          version: "latest"
+      - name: Install Python dependencies for MCP tests
+        run: |
+          cd python
+          uv sync --all-extras
       - name: Run Java Tests
-        run: tools/ut.sh -j
+        run: |
+          # Add Python venv to PATH so Java tests can find MCP dependencies
+          export PATH="${{ github.workspace }}/python/.venv/bin:$PATH"
+          export PYTHONPATH="${{ github.workspace 
}}/python/.venv/lib/python3.11/site-packages:$PYTHONPATH"
+          tools/ut.sh -j

Review Comment:
   This is for AgentPlanDeclareMCPServerTest to test whether MCP Tools and 
Prompts from MCP Server is properly discoverable, we need a running MCP server 
for this test. Do you think we should move this test to integration test?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to