99 fail-fast : false
1010 matrix :
1111 os : [ubuntu-latest, macos-latest, windows-latest]
12- python-version : ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.7", "pypy3.8", "pypy3.9", "pypy3.10"]
12+ python-version : ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14", " pypy3.7", "pypy3.8", "pypy3.9", "pypy3.10", "pypy3.11 "]
1313 exclude :
1414 - os : windows-latest
1515 python-version : " 3.7"
@@ -19,27 +19,14 @@ jobs:
1919 python-version : " pypy3.8"
2020 steps :
2121 - uses : actions/checkout@v4
22- - name : Setup Python
23- uses : actions /setup-python@v5
22+ - name : Setup Python ${{ matrix.python-version }}
23+ uses : astral-sh /setup-uv@v7
2424 with :
25- python-version : 3.12
26- - name : Install uv
27- run : pip install uv --disable-pip-version-check
25+ python-version : ${{ matrix.python-version }}
26+ activate-environment : true
2827 - name : Install pdm
2928 if : matrix.os != 'windows-latest'
3029 run : uv tool install pdm
31- - name : Setup Python ${{ matrix.python-version }}
32- if : matrix.os != 'windows-latest' && matrix.python-version != '3.7' && matrix.python-version != 'pypy3.7'
33- uses : actions/setup-python@v5
34- with :
35- python-version : ${{ matrix.python-version }}
36- - name : Setup PDM and Python ${{ matrix.python-version }}
37- uses : pdm-project/setup-pdm@v4
38- if : matrix.os == 'windows-latest'
39- with :
40- python-version : ${{ matrix.python-version }}
41- - name : Create venv
42- run : uv v -p ${{ matrix.python-version }} || pdm venv create --force
4330 - name : Install dependencies
4431 run : pdm export --pyproject | uv pip install -r - .[playground]
4532 - name : Run tests
4835 - name : Run static type checking
4936 run : |
5037 npm i -g pyright
51- pdm run pyright ./src/
38+ pyright ./src/
0 commit comments