Repository navigation
review: whole-repo audit after the volume merges, with the #403 controller docs #464
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: python | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "sdk/python/**" | |
| - "sdk/openai/**" | |
| - "sdk/langchain/**" | |
| - "mcp/**/*.py" | |
| - "e2e/**/*.py" | |
| - "ruff.toml" | |
| - "protocol/**" | |
| - ".github/workflows/python.yml" | |
| pull_request: | |
| paths: | |
| - "sdk/python/**" | |
| - "sdk/openai/**" | |
| - "sdk/langchain/**" | |
| - "mcp/**/*.py" | |
| - "e2e/**/*.py" | |
| - "ruff.toml" | |
| - "protocol/**" | |
| - ".github/workflows/python.yml" | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7.0.1 | |
| - uses: actions/setup-python@v7.1.0 | |
| with: | |
| python-version: "3.12" | |
| - name: Install tooling | |
| run: pip install ruff==0.15.22 pytest==8.4.2 mypy==1.20.2 && pip install -e sdk/python -e sdk/openai -e sdk/langchain | |
| - name: Lint | |
| run: ruff format --check . && ruff check . | |
| - name: Test cocoonsandbox | |
| run: cd sdk/python && python -m pytest -q | |
| - name: Type check cocoonsandbox | |
| run: cd sdk/python && python -m mypy | |
| - name: Test openai adapter | |
| run: cd sdk/openai && python -m pytest -q | |
| - name: Test langchain adapter | |
| run: cd sdk/langchain && python -m pytest -q |