11name : Tests
22on :
3+ pull_request :
4+ paths-ignore : ['docs/**', 'README.md']
35 push :
46 branches : [main, stable]
5- paths-ignore : ['docs/**', '*.md', '*.rst']
6- pull_request :
7- paths-ignore : [ 'docs/**', '*.md', '*.rst' ]
7+ paths-ignore : ['docs/**', 'README.md']
88jobs :
99 tests :
1010 name : ${{ matrix.name || matrix.python }}
@@ -14,38 +14,39 @@ jobs:
1414 matrix :
1515 include :
1616 - {python: '3.13'}
17+ - {name: Windows, python: '3.13', os: windows-latest}
18+ - {name: Mac, python: '3.13', os: macos-latest}
1719 - {python: '3.12'}
18- - {name: Windows, python: '3.12', os: windows-latest}
19- - {name: Mac, python: '3.12', os: macos-latest}
2020 - {python: '3.11'}
2121 - {python: '3.10'}
2222 - {python: '3.9'}
23- - {name: PyPy, python: 'pypy-3.10 ', tox: pypy310 }
24- - {name: Minimum Versions, python: '3.12 ', tox: py -min}
25- - {name: Development Versions, python: '3.9 ', tox: py -dev}
23+ - {name: PyPy, python: 'pypy-3.11 ', tox: pypy3.11 }
24+ - {name: Minimum Versions, python: '3.13 ', tox: tests -min}
25+ - {name: Development Versions, python: '3.10 ', tox: tests -dev}
2626 steps :
2727 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
28- - uses : actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
28+ - uses : astral-sh/setup-uv@6b9c6063abd6010835644d4c2e1bef4cf5cd0fca # v6.0.1
29+ with :
30+ enable-cache : true
31+ prune-cache : false
32+ - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2933 with :
3034 python-version : ${{ matrix.python }}
31- allow-prereleases : true
32- cache : pip
33- cache-dependency-path : requirements*/*.txt
34- - run : pip install tox
35- - run : tox run -e ${{ matrix.tox || format('py{0}', matrix.python) }}
35+ - run : uv run --locked tox run -e ${{ matrix.tox || format('py{0}', matrix.python) }}
3636 typing :
3737 runs-on : ubuntu-latest
3838 steps :
3939 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
40- - uses : actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
40+ - uses : astral-sh/setup-uv@6b9c6063abd6010835644d4c2e1bef4cf5cd0fca # v6.0.1
41+ with :
42+ enable-cache : true
43+ prune-cache : false
44+ - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
4145 with :
42- python-version : ' 3.x'
43- cache : pip
44- cache-dependency-path : requirements*/*.txt
46+ python-version-file : pyproject.toml
4547 - name : cache mypy
4648 uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
4749 with :
4850 path : ./.mypy_cache
4951 key : mypy|${{ hashFiles('pyproject.toml') }}
50- - run : pip install tox
51- - run : tox run -e typing
52+ - run : uv run --locked tox run -e typing
0 commit comments