Skip to content

Harden quality checks and documentation #4

Harden quality checks and documentation

Harden quality checks and documentation #4

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python }}
- name: Install
run: |
python -m pip install --upgrade pip
if [ -f pyproject.toml ]; then
pip install -e ".[dev]" || pip install -e .
fi
pip install pytest pytest-cov ruff
- name: Lint (ruff)
run: ruff check .
- name: Test
run: pytest -q