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]
6+ pull_request :
7+ workflow_dispatch :
8+
9+ jobs :
10+ test :
11+ name : Test Python ${{ matrix.python-version }}
12+ runs-on : ubuntu-latest
13+ strategy :
14+ fail-fast : false
15+ matrix :
16+ python-version : ["3.11", "3.12", "3.13"]
17+
18+ steps :
19+ - name : Check out repository
20+ uses : actions/checkout@v4
21+
22+ - name : Set up Python
23+ uses : actions/setup-python@v6
24+ with :
25+ python-version : ${{ matrix.python-version }}
26+
27+ - name : Set up uv
28+ uses : astral-sh/setup-uv@v8.1.0
29+
30+ - name : Run tests
31+ run : uv run --extra dev pytest -q
32+
33+ build :
34+ name : Build package
35+ runs-on : ubuntu-latest
36+ steps :
37+ - name : Check out repository
38+ uses : actions/checkout@v4
39+
40+ - name : Set up Python
41+ uses : actions/setup-python@v6
42+ with :
43+ python-version : " 3.11"
44+
45+ - name : Set up uv
46+ uses : astral-sh/setup-uv@v8.1.0
47+
48+ - name : Build wheel and sdist
49+ run : uv build
50+
You can’t perform that action at this time.
0 commit comments