Skip to content

refactor: migrate to ruff-only linting and add CI workflow #193

refactor: migrate to ruff-only linting and add CI workflow

refactor: migrate to ruff-only linting and add CI workflow #193

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
lint:
name: Lint with ruff
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
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 hatch
run: pip install hatch
- name: Run ruff check
run: hatch run style:check
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
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 hatch
run: pip install hatch
- name: Run tests
run: hatch run test:test