feat(api): public LM-injection seam on configure() + get_config accessor #14
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: | |
| # Action versions (checkout@v4, setup-uv@v5) are current majors; bump if a newer | |
| # major ships. CI needs no live model, no vLLM, no network, no Deno: the | |
| # dspy-bearing tests use a DummyLM or skip when dspy is absent. | |
| jobs: | |
| test: | |
| name: test (py${{ matrix.python-version }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| enable-cache: true | |
| - name: Run tests | |
| # --extra mcp so the MCP-client tests run (they spawn a stdio MCP subprocess) rather than skip | |
| run: uv run --group dev --extra mcp python -m pytest -q | |
| lint: | |
| name: ruff | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| enable-cache: true | |
| - name: Lint | |
| run: uvx ruff check . |