Skip to content

chore(project): update issue templates, switch to ruff, and apply for… #56

chore(project): update issue templates, switch to ruff, and apply for…

chore(project): update issue templates, switch to ruff, and apply for… #56

Workflow file for this run

name: CI
permissions:
contents: read
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
name: Python CI
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
cache: "pip"
- name: Cache pre-commit
uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
restore-keys: |
${{ runner.os }}-pre-commit-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[ci]
- name: Show environment info
run: |
python --version
pip list
- name: Run pre-commit checks
run: |
pre-commit run --all-files
- name: Run tests
run: |
pytest -v