File tree Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ pull_request :
5+ branches : [ develop ]
6+ push :
7+ branches : [ develop ]
8+
9+ jobs :
10+ lint-and-test :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout code
15+ uses : actions/checkout@v4
16+
17+ - name : Install uv
18+ uses : astral-sh/setup-uv@v3
19+
20+ - name : Set up Python
21+ run : uv python install
22+
23+ - name : Install dependencies
24+ run : uv sync --all-groups
25+
26+ - name : Run ruff check
27+ run : uv run ruff check
28+
29+ - name : Run ruff format check
30+ run : uv run ruff format --check .
31+
32+ - name : Run tests with pytest
33+ run : uv run pytest
34+
35+
36+ test-matrix :
37+ runs-on : ubuntu-latest
38+ strategy :
39+ matrix :
40+ python-version : ["3.10", "3.11", "3.12", "3.13"]
41+
42+ steps :
43+ - name : Checkout code
44+ uses : actions/checkout@v4
45+
46+ - name : Install uv
47+ uses : astral-sh/setup-uv@v3
48+
49+ - name : Set up Python ${{ matrix.python-version }}
50+ run : uv python install ${{ matrix.python-version }}
51+
52+ - name : Install dependencies
53+ run : uv sync --all-groups
54+
55+ - name : Run tests
56+ run : uv run pytest
You can’t perform that action at this time.
0 commit comments