Skip to content

Commit 48ca53c

Browse files
committed
feat: Add CI checks
1 parent ca6cd9b commit 48ca53c

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: CI
2+
on:
3+
push:
4+
branches: [main]
5+
paths:
6+
- .github/workflows/ci.yaml
7+
- pyproject.toml
8+
- uv.lock
9+
- src/**
10+
pull_request:
11+
branches: [main]
12+
paths:
13+
- .github/workflows/ci.yaml
14+
- pyproject.toml
15+
- uv.lock
16+
- src/**
17+
workflow_dispatch:
18+
19+
jobs:
20+
tests:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
24+
25+
- name: Install uv
26+
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7
27+
28+
- name: Set up Python
29+
run: uv python install
30+
31+
- name: Run Tests
32+
run: uv run pytest
33+
34+
- name: Run Lint
35+
run: uv run ruff check
36+
37+
- name: Run Formatter
38+
run: uv run ruff format --check

0 commit comments

Comments
 (0)