Skip to content

Integrate formatting and linting #44

Integrate formatting and linting

Integrate formatting and linting #44

Workflow file for this run

# Basic CI setup: Lint with ruff, run tests with pytest
name: Test
on:
pull_request:
push:
branches:
- main
jobs:
lint:
name: Run linting and format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
- run: uv python install python3.13
- run: uv run ruff check src/obelisk/
- run: uv run ruff format --check src/obelisk/
- run: uv run mypy src/obelisk/
test:
name: Run tests
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
- run: uv python install python3.13
- run: uv run pytest