Skip to content

chore: bump version to 0.4.0a7 #118

chore: bump version to 0.4.0a7

chore: bump version to 0.4.0a7 #118

Workflow file for this run

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