Skip to content

Merge pull request #34 from fido-ai/squad_v1 #25

Merge pull request #34 from fido-ai/squad_v1

Merge pull request #34 from fido-ai/squad_v1 #25

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
strategy:
matrix:
python-version: [ '3.10', '3.11', '3.12' ]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
run: pip install --upgrade uv
- name: Sync dependencies
run: uv sync --dev
- name: Lint (ruff)
run: uv run ruff check .
- name: Lint (ruff format check)
run: uv run ruff format --check .
- name: Type check (mypy)
run: uv run mypy || true # remove '|| true' later to enforce strict
- name: Test (pytest)
run: uv run pytest -q --maxfail=1 --disable-warnings