@@ -10,35 +10,25 @@ jobs:
1010
1111 strategy :
1212 matrix :
13- python-version : ['3.8 ', '3.10 ', '3.12 ', '3.13 ', '3.14 ', 'pypy3.11']
13+ python-version : ['3.10 ', '3.12 ', '3.13 ', '3.14 ', '3.14t ', 'pypy3.11']
1414
1515 steps :
1616 - uses : actions/checkout@v5
17- - name : Set up Python ${{ matrix.python-version }}
18- uses : actions/setup-python@v6
17+ - uses : astral-sh/setup-uv@v6
1918 with :
20- python-version : ${{ matrix.python-version }}
21- cache : ' pip'
22- cache-dependency-path : ' requirements/test.txt'
23- allow-prereleases : true
24- - name : Install dependencies
25- run : python -m pip install -r requirements/test.txt
19+ version : " 0.9.7"
2620 - name : Check types with mypy
27- run : python -m mypy .
28- # Skip type check for Python 3.14, since it's hitting an argparse-related
29- # issue in mypy: https://github.com/python/mypy/pull/19020
30- if : matrix.python-version != '3.14'
21+ run : uv run --python ${{ matrix.python-version }} mypy
3122 - name : Test with pytest
32- run : python -m pytest
23+ run : uv run -- python ${{ matrix.python-version }} pytest
3324
3425 style :
3526 runs-on : ubuntu-latest
3627
3728 steps :
3829 - uses : actions/checkout@v5
39- - name : Install ruff and apply 'ruff check'
40- uses : astral-sh/ruff-action@v3
41- with :
42- version : ' latest'
43- - name : Check for formatting changes
44- run : ruff format --check --diff
30+ - uses : astral-sh/setup-uv@v6
31+ - name : Lint
32+ run : uvx ruff check
33+ - name : Check formatting
34+ run : uvx ruff format --check
0 commit comments