refactor: update references to CapiscioMCPServer.connect() API #31
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Cache capiscio-core binary | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.capiscio/bin | |
| key: capiscio-core-${{ runner.os }}-${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| # Install SDK from source — PyPI v2.4.0 is missing protobuf stubs | |
| pip install "capiscio-sdk @ git+https://github.com/capiscio/capiscio-sdk-python.git@main" | |
| pip install -e ".[dev]" | |
| - name: Lint | |
| run: ruff check langchain_capiscio/ tests/ | |
| - name: Test | |
| run: pytest -v | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install ruff | |
| - name: Ruff check | |
| run: ruff check langchain_capiscio/ tests/ | |
| - name: Ruff format check | |
| run: ruff format --check langchain_capiscio/ tests/ |