55 push :
66 branches : [main, stable]
77 paths-ignore : ['docs/**', 'README.md']
8+ permissions : {}
9+ concurrency :
10+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11+ cancel-in-progress : true
812jobs :
913 tests :
1014 name : ${{ matrix.name || matrix.python }}
@@ -14,48 +18,35 @@ jobs:
1418 matrix :
1519 include :
1620 - {python: '3.14'}
17- - {name: free-threaded-latest, python: '3.14t'}
21+ - {python: '3.14t'}
22+ - {name: Windows, python: '3.14', os: windows-latest}
23+ - {name: Mac, python: '3.14', os: macos-latest}
1824 - {python: '3.13'}
19- - {name: Windows, python: '3.13', os: windows-latest}
20- - {name: Mac, python: '3.13', os: macos-latest}
2125 - {python: '3.12'}
2226 - {python: '3.11'}
2327 - {python: '3.10'}
2428 - {name: PyPy, python: 'pypy-3.11', tox: pypy3.11}
2529 steps :
2630 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
27- - uses : astral-sh/setup-uv@e06108dd0aef18192324c70427afc47652e63a82 # v7.5.0
2831 with :
29- enable-cache : true
30- prune-cache : false
31- - uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
32- with :
33- python-version : ${{ matrix.python }}
34- - run : uv run --locked tox run -e ${{ matrix.tox || format('py{0}', matrix.python) }}
35- stress :
36- name : stress (${{ matrix.name || matrix.python }})
37- runs-on : ${{ matrix.os || 'ubuntu-latest' }}
38- strategy :
39- fail-fast : false
40- matrix :
41- include :
42- - {python: '3.14'}
43- - {name: free-threaded, python: '3.14t', tox: stress-py3.14t}
44- steps :
45- - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
46- - uses : astral-sh/setup-uv@e06108dd0aef18192324c70427afc47652e63a82 # v7.5.0
32+ persist-credentials : false
33+ - uses : astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1
4734 with :
4835 enable-cache : true
4936 prune-cache : false
5037 - uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
5138 with :
5239 python-version : ${{ matrix.python }}
53- - run : uv run --locked tox run -e ${{ matrix.tox || format('stress-py{0}', matrix.python) }}
40+ - run : uv run --locked --no-default-groups --group dev tox run
41+ env :
42+ TOX_ENV : ${{ matrix.tox || format('py{0}', matrix.python) }}
5443 typing :
5544 runs-on : ubuntu-latest
5645 steps :
5746 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
58- - uses : astral-sh/setup-uv@e06108dd0aef18192324c70427afc47652e63a82 # v7.5.0
47+ with :
48+ persist-credentials : false
49+ - uses : astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1
5950 with :
6051 enable-cache : true
6152 prune-cache : false
6758 with :
6859 path : ./.mypy_cache
6960 key : mypy|${{ hashFiles('pyproject.toml') }}
70- - run : uv run --locked tox run -e typing
61+ - run : uv run --locked --no-default-groups --group dev tox run -e typing
0 commit comments