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


##########
.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:
   Yes, I think we can move that 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