sandboxd: cross-node snapshot placement — operator-token lifecycle, gossip redirect, peer heal #119
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: | |
| paths: | |
| - "sdk/python/**" | |
| - "sdk/openai/**" | |
| - "sdk/langchain/**" | |
| - "protocol/**" | |
| - ".github/workflows/python.yml" | |
| pull_request: | |
| paths: | |
| - "sdk/python/**" | |
| - "sdk/openai/**" | |
| - "sdk/langchain/**" | |
| - "protocol/**" | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.12" | |
| - name: Install tooling | |
| run: pip install ruff pytest && pip install -e sdk/python -e sdk/openai -e sdk/langchain | |
| - name: Lint | |
| run: ruff check sdk/python && ruff check sdk/openai && ruff check sdk/langchain | |
| - name: Test cocoonsandbox | |
| run: cd sdk/python && pytest -q | |
| - name: Test openai adapter | |
| run: cd sdk/openai && pytest -q | |
| - name: Test langchain adapter | |
| run: cd sdk/langchain && pytest -q |