Skip to content

docs(readme): enhance badges, benchmarks, and architecture overview #10

docs(readme): enhance badges, benchmarks, and architecture overview

docs(readme): enhance badges, benchmarks, and architecture overview #10

Workflow file for this run

name: CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
uv pip install --system -r requirements.txt
uv pip install --system -e ".[dev]"
- name: Lint with ruff
run: ruff check src/ tests/
- name: Check formatting with black
run: black --check src/ tests/
- name: Check imports with isort
run: isort --check src/ tests/
- name: Type check with mypy
run: mypy src/
- name: Run tests
run: pytest --cov=src --cov-report=xml
# Uncomment to add deployment
# deploy:
# needs: test
# runs-on: ubuntu-latest
# if: github.ref == 'refs/heads/main'
# steps:
# - uses: actions/checkout@v4
# - name: Deploy
# run: echo "Add deployment steps here"