Skip to content

feat: add llama backend + thinking loop detection for cross-platform … #53

feat: add llama backend + thinking loop detection for cross-platform …

feat: add llama backend + thinking loop detection for cross-platform … #53

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v4
- run: uvx ruff check .
test:
strategy:
matrix:
python-version: ["3.11", "3.14"]
os: [macos-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: astral-sh/setup-uv@v4
- name: Install dependencies
run: |
uv venv
uv pip install -e ".[dev]"
uv pip install mlx mlx-lm || echo "mlx not available (non-ARM runner)"
- name: Run tests
run: |
if [ -d "pipeline/tests" ]; then
uv run pytest pipeline/tests/ -v -k "not mlx" --ignore-glob="*mlx*" || true
python3 pipeline/tests/test_phase2.py || true
fi