fix(heuristic): comma-separated label parsing + smoke test v4 doc #117
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: | |
| lint-and-test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.12"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| run: uv python install ${{ matrix.python-version }} | |
| - name: Install Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| - name: Install Node.js dependencies | |
| run: npm install | |
| - name: Install Python dependencies | |
| run: uv sync --extra dev | |
| - name: Ruff check | |
| run: uv run ruff check src/mint src/mint_python | |
| - name: Mypy strict | |
| run: uv run mypy src/mint src/mint_python | |
| - name: Pytest + 100% coverage gate (mint_python) | |
| env: | |
| # mint.config requires these for any subprocess invocation of `mint <subcmd>` | |
| # (used by tests/integration/test_cli.py). Sentinel values; no real LLM call. | |
| LLM_BASE_URL: http://x:1 | |
| LLM_MODEL: m | |
| MINT_MODEL_TIER: small | |
| run: | | |
| uv run pytest tests/ \ | |
| --cov=src/mint_python \ | |
| --cov-fail-under=100 \ | |
| --tb=short -q |