@@ -27,14 +27,15 @@ jobs:
2727 runs-on : ubuntu-latest
2828 steps :
2929 - uses : actions/checkout@v6
30- - uses : actions/setup-python@v6
31- with :
32- python-version : " 3.13"
3330 - uses : astral-sh/setup-uv@v7
3431 with :
3532 version-file : " requirements-tests.txt"
36- - run : uv pip install -r requirements-tests.txt --system
37- - run : python ./tests/check_typeshed_structure.py
33+ - run : |
34+ uv run \
35+ --python=3.13 \
36+ --no-project \
37+ --with-requirements=requirements-tests.txt \
38+ ./tests/check_typeshed_structure.py
3839
3940 mypy :
4041 name : " mypy: Check stubs"
@@ -69,14 +70,17 @@ jobs:
6970 runs-on : ubuntu-latest
7071 steps :
7172 - uses : actions/checkout@v6
72- - uses : actions/setup-python@v6
73- with :
74- python-version : " 3.14"
7573 - uses : astral-sh/setup-uv@v7
7674 with :
7775 version-file : " requirements-tests.txt"
78- - run : uv pip install -r requirements-tests.txt --system
79- - run : python ./tests/regr_test.py --all --verbosity QUIET
76+ - run : |
77+ uv run \
78+ --python=3.14 \
79+ --no-project \
80+ --with-requirements=requirements-tests.txt \
81+ ./tests/regr_test.py \
82+ --all \
83+ --verbosity=QUIET
8084
8185 pyright :
8286 name : " pyright: Run test cases"
@@ -156,15 +160,10 @@ jobs:
156160 with :
157161 repository : typeshed-internal/stub_uploader
158162 path : stub_uploader
159- - uses : actions/setup-python@v6
160- with :
161- # Keep in sync with stub_uploader's check_scripts.yml workflow.
162- python-version : " 3.13"
163163 - uses : astral-sh/setup-uv@v7
164164 with :
165165 version-file : " typeshed/requirements-tests.txt"
166166 - name : Run tests
167167 run : |
168168 cd stub_uploader
169- uv pip install -r requirements.txt --system
170- python -m pytest tests
169+ uv run --python=3.13 --no-project --with-requirements=requirements.txt -m pytest tests
0 commit comments