Skip to content

chore(repo): Add lefthook #44

chore(repo): Add lefthook

chore(repo): Add lefthook #44

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
lint-and-test:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python3 -m pip install uv
uv pip install -r requirements.txt --system
uv pip install -r dev-requirements.txt --system
- name: Lint with ruff
run: ruff check
- name: Test with pytest
run: pytest