File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [main, master]
6+ pull_request :
7+
8+ jobs :
9+ lint :
10+ name : Lint
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v4
14+
15+ - uses : astral-sh/setup-uv@v7
16+ with :
17+ enable-cache : true
18+
19+ - name : Install dependencies
20+ run : uv sync --locked --dev
21+
22+ - name : Ruff check
23+ run : uv run ruff check --output-format github .
24+
25+ - name : Ruff format check
26+ run : uv run ruff format --check .
27+
28+ test :
29+ name : Test (Python ${{ matrix.python-version }})
30+ runs-on : ubuntu-latest
31+ strategy :
32+ matrix :
33+ python-version : ["3.12", "3.13"]
34+ steps :
35+ - uses : actions/checkout@v4
36+
37+ - uses : astral-sh/setup-uv@v7
38+ with :
39+ python-version : ${{ matrix.python-version }}
40+ enable-cache : true
41+
42+ - name : Install dependencies
43+ run : uv sync --locked --dev
44+
45+ - name : Run tests
46+ run : uv run pytest
You can’t perform that action at this time.
0 commit comments