Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/lint.yml
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
name: Lint
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
- uses: actions/setup-python@v5
with:
python-version-file: .python-version
- run: uv sync --group dev
- run: uv run ruff check .
- run: uv run ruff format --check .
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- uses: actions/setup-python@v5
with:
python-version-file: .python-version
- run: uv sync --group dev
- run: uv run pytest --cov --cov-report=term-missing
18 changes: 18 additions & 0 deletions .github/workflows/type-check.yml
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
name: Typecheck
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
- uses: actions/setup-python@v5
with:
python-version-file: .python-version
- run: uv sync --group dev
- run: uv run pyright
Loading