Skip to content

Add CI workflow for Python testing and style checks #1

Add CI workflow for Python testing and style checks

Add CI workflow for Python testing and style checks #1

Workflow file for this run

name: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
ci:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.12", "3.13"]
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install -e ".[dev]"
- name: Check style
run: pre-commit run --all-files
- name: Run tests
run: pytest tests/ -v