name: CI on: push: branches: [main] pull_request: branches: [main] jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5 with: python-version: '3.11' - name: Install system dependencies run: | apt-get update apt-get install -y graphviz - name: Install Python dependencies run: | pip install --upgrade pip pip install -e . - name: Run linters run: | pip install ruff mypy ruff check src tests python -m mypy src - name: Run tests run: | pytest tests/unit/ -v pytest tests/integration/ -v