feat(skill): add optional table verification step B-3 #22
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: | |
| jobs: | |
| lint-and-test: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: src/mcp-server | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| # The unit tests are deliberately EasyOCR/PyTorch-free, so we install only | |
| # the lightweight runtime deps plus the dev tools — no multi-hundred-MB | |
| # torch download needed. | |
| # ruff and mcp are pinned to the versions locked in uv.lock — an unpinned | |
| # install pulls the latest release: new ruff rules can turn CI red, and | |
| # newer mcp majors moved mcp.server.fastmcp, both without any code change. | |
| # Bump these pins together with uv.lock. | |
| - name: Install dependencies | |
| run: python -m pip install --upgrade pip numpy pillow requests mcp==1.26.0 pytest ruff==0.15.20 | |
| - name: Lint | |
| run: ruff check . | |
| - name: Test | |
| run: pytest -q | |
| - name: Test benchmark matcher | |
| working-directory: benchmark | |
| run: pytest -q |