@@ -29,18 +29,18 @@ jobs:
29
29
- uses : actions/checkout@v4
30
30
- uses : astral-sh/setup-uv@v5
31
31
with :
32
- python-version : " 3.12 "
32
+ python-version : " 3.13 "
33
33
- run : uv pip install -r requirements-tests.txt
34
34
- run : uv run --no-project ./tests/check_typeshed_structure.py
35
35
36
36
pytype :
37
- name : Run pytype against the stubs
37
+ name : " pytype: Check stubs"
38
38
runs-on : ubuntu-latest
39
39
steps :
40
40
- uses : actions/checkout@v4
41
41
- uses : astral-sh/setup-uv@v5
42
42
with :
43
- # Max supported Python version as of pytype 2024.9.13
43
+ # Max supported Python version as of pytype 2024.10.11
44
44
python-version : " 3.12"
45
45
- uses : astral-sh/setup-uv@v5
46
46
- run : uv pip install -r requirements-tests.txt
55
55
- run : ./tests/pytype_test.py --print-stderr
56
56
57
57
mypy :
58
- name : Run mypy against the stubs
58
+ name : " mypy: Check stubs"
59
59
runs-on : ubuntu-latest
60
60
strategy :
61
61
matrix :
71
71
- run : uv run --no-project ./tests/mypy_test.py --platform=${{ matrix.platform }} --python-version=${{ matrix.python-version }}
72
72
73
73
regression-tests :
74
- name : Run mypy on the test cases
74
+ name : " mypy: Run test cases"
75
75
runs-on : ubuntu-latest
76
76
steps :
77
77
- uses : actions/checkout@v4
84
84
- run : uv run --no-project ./tests/regr_test.py --all --verbosity QUIET
85
85
86
86
pyright :
87
- name : Test typeshed with pyright
87
+ name : " pyright: Run test cases "
88
88
runs-on : ubuntu-latest
89
89
strategy :
90
90
matrix :
95
95
- uses : actions/checkout@v4
96
96
- uses : astral-sh/setup-uv@v5
97
97
with :
98
- python-version : " 3.12 "
98
+ python-version : " 3.13 "
99
99
- uses : astral-sh/setup-uv@v5
100
100
- name : Install typeshed test-suite requirements
101
101
# Install these so we can run `get_external_stub_requirements.py`
@@ -115,26 +115,26 @@ jobs:
115
115
version : PATH
116
116
python-platform : ${{ matrix.python-platform }}
117
117
python-version : ${{ matrix.python-version }}
118
- annotate : ${{ matrix.python-version == '3.12 ' && matrix.python-platform == 'Linux' }} # Having each job create the same comment is too noisy.
118
+ annotate : ${{ matrix.python-version == '3.13 ' && matrix.python-platform == 'Linux' }} # Having each job create the same comment is too noisy.
119
119
- name : Run pyright with stricter settings on some of the stubs
120
120
uses : jakebailey/pyright-action@v2
121
121
with :
122
122
version : PATH
123
123
python-platform : ${{ matrix.python-platform }}
124
124
python-version : ${{ matrix.python-version }}
125
- annotate : ${{ matrix.python-version == '3.12 ' && matrix.python-platform == 'Linux' }} # Having each job create the same comment is too noisy.
125
+ annotate : ${{ matrix.python-version == '3.13 ' && matrix.python-platform == 'Linux' }} # Having each job create the same comment is too noisy.
126
126
project : ./pyrightconfig.stricter.json
127
127
- name : Run pyright on the test cases
128
128
uses : jakebailey/pyright-action@v2
129
129
with :
130
130
version : PATH
131
131
python-platform : ${{ matrix.python-platform }}
132
132
python-version : ${{ matrix.python-version }}
133
- annotate : ${{ matrix.python-version == '3.12 ' && matrix.python-platform == 'Linux' }} # Having each job create the same comment is too noisy.
133
+ annotate : ${{ matrix.python-version == '3.13 ' && matrix.python-platform == 'Linux' }} # Having each job create the same comment is too noisy.
134
134
project : ./pyrightconfig.testcases.json
135
135
136
136
stub-uploader :
137
- name : Run the stub_uploader tests
137
+ name : stub_uploader tests
138
138
runs-on : ubuntu-latest
139
139
steps :
140
140
- name : Checkout typeshed
@@ -148,7 +148,8 @@ jobs:
148
148
path : stub_uploader
149
149
- uses : astral-sh/setup-uv@v5
150
150
with :
151
- python-version : " 3.12"
151
+ # Keep in sync with stub_uploader's check_scripts.yml workflow.
152
+ python-version : " 3.13"
152
153
- uses : astral-sh/setup-uv@v5
153
154
- name : Run tests
154
155
run : |
0 commit comments