File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed
Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches :
7+ - main
8+
9+ concurrency :
10+ group : ${{ github.head_ref || github.run_id }}
11+ cancel-in-progress : true
12+
13+ jobs :
14+ tests :
15+ name : Python ${{ matrix.python-version }}
16+ runs-on : ubuntu-24.04
17+
18+ strategy :
19+ matrix :
20+ python-version :
21+ - ' 3.10'
22+ - ' 3.11'
23+ - ' 3.12'
24+ - ' 3.13'
25+
26+ steps :
27+ - uses : actions/checkout@v4
28+
29+ - uses : actions/setup-python@v5
30+ with :
31+ python-version : ${{ matrix.python-version }}
32+ allow-prereleases : true
33+
34+ - name : Install uv
35+ uses : astral-sh/setup-uv@v5
36+ with :
37+ enable-cache : true
38+ cache-dependency-glob : tests/requirements/*.txt
39+
40+ - name : Install dependencies
41+ run : uv pip install --system tox tox-uv
42+
43+ - name : Run tox targets for ${{ matrix.python-version }}
44+ run : tox run -f py$(echo ${{ matrix.python-version }} | tr -d .)
You can’t perform that action at this time.
0 commit comments