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+ pull_request :
5+ branches : [main]
6+ push :
7+ branches : [main]
8+
9+ permissions :
10+ contents : read
11+
12+ jobs :
13+ lint :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v6
17+
18+ - uses : astral-sh/setup-uv@v7
19+ with :
20+ enable-cache : true
21+
22+ - name : Install dependencies
23+ run : uv sync --dev
24+
25+ - name : Ruff check
26+ run : uv run ruff check .
27+
28+ - name : Ruff format check
29+ run : uv run ruff format --check .
30+
31+ test :
32+ runs-on : ubuntu-latest
33+ strategy :
34+ matrix :
35+ python-version : ["3.11", "3.12", "3.13"]
36+ steps :
37+ - uses : actions/checkout@v6
38+
39+ - uses : astral-sh/setup-uv@v7
40+ with :
41+ enable-cache : true
42+
43+ - name : Install Python ${{ matrix.python-version }}
44+ run : uv python install ${{ matrix.python-version }}
45+
46+ - name : Install dependencies
47+ run : uv sync --dev --python ${{ matrix.python-version }}
48+
49+ - name : Run tests
50+ run : uv run pytest -m "not integration and not e2e" --tb=short -q
You can’t perform that action at this time.
0 commit comments