github-actions[bot]
Deploy 9aa839066bbf99a8ada733b41479a39770b3bb83 from main
eb83689
Raw
History Blame Contribute Delete
909 Bytes
name: CI
on:
push:
branches: ["main"]
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
quality:
name: Lint and test (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.12"]
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install development dependencies
run: pip install -e ".[dev]"
- name: Lint with ruff
run: ruff check src agent app eval tests
- name: Check formatting with ruff
run: ruff format --check src agent app eval tests
- name: Run tests with coverage
run: pytest --cov=src --cov-report=term-missing