@@ -48,24 +48,27 @@ jobs:
48
48
runs-on : ubuntu-latest
49
49
timeout-minutes : 60
50
50
steps :
51
+ - name : Setup Python
52
+ uses : actions/setup-python@v5
53
+ with :
54
+ python-version : ${{ matrix.python-version }}
55
+ allow-prereleases : true
56
+ - name : Install uv
57
+ run : curl -LsSf https://astral.sh/uv/install.sh | sh
51
58
- name : Checkout pydantic
52
59
run : git clone https://github.com/pydantic/pydantic.git
53
60
- name : Checkout typing_extensions
54
61
uses : actions/checkout@v4
55
62
with :
56
63
path : typing-extensions-latest
57
- - name : Install uv
58
- uses : astral-sh/setup-uv@v3
59
- - name : Set up Python ${{ matrix.python-version }}
60
- run : uv python install ${{ matrix.python-version }}
61
64
- name : Add local version of typing_extensions as a dependency
62
- run : uv add --editable ./typing-extensions-latest
65
+ run : cd pydantic; uv add --editable . ./typing-extensions-latest
63
66
- name : Install pydantic test dependencies
64
- run : uv sync --group dev
67
+ run : cd pydantic; uv sync --group dev
65
68
- name : List installed dependencies
66
- run : uv pip list
69
+ run : cd pydantic; uv pip list
67
70
- name : Run pydantic tests
68
- run : uv run pytest
71
+ run : cd pydantic; uv run pytest
69
72
70
73
typing_inspect :
71
74
name : typing_inspect tests
@@ -86,18 +89,18 @@ jobs:
86
89
runs-on : ubuntu-latest
87
90
timeout-minutes : 60
88
91
steps :
89
- - name : Checkout typing_inspect
90
- run : git clone https://github.com/ilevkivskyi/typing_inspect.git
91
- - name : Checkout typing_extensions
92
- uses : actions/checkout@v4
93
- with :
94
- path : typing-extensions-latest
95
92
- name : Setup Python
96
93
uses : actions/setup-python@v5
97
94
with :
98
95
python-version : ${{ matrix.python-version }}
99
96
- name : Install uv
100
97
run : curl -LsSf https://astral.sh/uv/install.sh | sh
98
+ - name : Checkout typing_inspect
99
+ run : git clone https://github.com/ilevkivskyi/typing_inspect.git
100
+ - name : Checkout typing_extensions
101
+ uses : actions/checkout@v4
102
+ with :
103
+ path : typing-extensions-latest
101
104
- name : Install typing_inspect test dependencies
102
105
run : |
103
106
set -x
@@ -131,19 +134,19 @@ jobs:
131
134
runs-on : ubuntu-latest
132
135
timeout-minutes : 60
133
136
steps :
134
- - name : Check out pyanalyze
135
- run : git clone https://github.com/quora/pyanalyze.git
136
- - name : Checkout typing_extensions
137
- uses : actions/checkout@v4
138
- with :
139
- path : typing-extensions-latest
140
137
- name : Setup Python
141
138
uses : actions/setup-python@v5
142
139
with :
143
140
python-version : ${{ matrix.python-version }}
144
141
allow-prereleases : true
145
142
- name : Install uv
146
143
run : curl -LsSf https://astral.sh/uv/install.sh | sh
144
+ - name : Check out pyanalyze
145
+ run : git clone https://github.com/quora/pyanalyze.git
146
+ - name : Checkout typing_extensions
147
+ uses : actions/checkout@v4
148
+ with :
149
+ path : typing-extensions-latest
147
150
- name : Install pyanalyze test requirements
148
151
run : |
149
152
set -x
@@ -177,19 +180,19 @@ jobs:
177
180
runs-on : ubuntu-latest
178
181
timeout-minutes : 60
179
182
steps :
180
- - name : Check out typeguard
181
- run : git clone https://github.com/agronholm/typeguard.git
182
- - name : Checkout typing_extensions
183
- uses : actions/checkout@v4
184
- with :
185
- path : typing-extensions-latest
186
183
- name : Setup Python
187
184
uses : actions/setup-python@v5
188
185
with :
189
186
python-version : ${{ matrix.python-version }}
190
187
allow-prereleases : true
191
188
- name : Install uv
192
189
run : curl -LsSf https://astral.sh/uv/install.sh | sh
190
+ - name : Check out typeguard
191
+ run : git clone https://github.com/agronholm/typeguard.git
192
+ - name : Checkout typing_extensions
193
+ uses : actions/checkout@v4
194
+ with :
195
+ path : typing-extensions-latest
193
196
- name : Install typeguard test requirements
194
197
run : |
195
198
set -x
@@ -224,18 +227,18 @@ jobs:
224
227
runs-on : ubuntu-latest
225
228
timeout-minutes : 60
226
229
steps :
227
- - name : Check out typed-argument-parser
228
- run : git clone https://github.com/swansonk14/typed-argument-parser.git
229
- - name : Checkout typing_extensions
230
- uses : actions/checkout@v4
231
- with :
232
- path : typing-extensions-latest
233
230
- name : Setup Python
234
231
uses : actions/setup-python@v5
235
232
with :
236
233
python-version : ${{ matrix.python-version }}
237
234
- name : Install uv
238
235
run : curl -LsSf https://astral.sh/uv/install.sh | sh
236
+ - name : Check out typed-argument-parser
237
+ run : git clone https://github.com/swansonk14/typed-argument-parser.git
238
+ - name : Checkout typing_extensions
239
+ uses : actions/checkout@v4
240
+ with :
241
+ path : typing-extensions-latest
239
242
- name : Configure git for typed-argument-parser tests
240
243
# typed-argument parser does this in their CI,
241
244
# and the tests fail unless we do this
@@ -276,19 +279,19 @@ jobs:
276
279
runs-on : ubuntu-latest
277
280
timeout-minutes : 60
278
281
steps :
279
- - name : Checkout mypy for stubtest and mypyc tests
280
- run : git clone https://github.com/python/mypy.git
281
- - name : Checkout typing_extensions
282
- uses : actions/checkout@v4
283
- with :
284
- path : typing-extensions-latest
285
282
- name : Setup Python
286
283
uses : actions/setup-python@v5
287
284
with :
288
285
python-version : ${{ matrix.python-version }}
289
286
allow-prereleases : true
290
287
- name : Install uv
291
288
run : curl -LsSf https://astral.sh/uv/install.sh | sh
289
+ - name : Checkout mypy for stubtest and mypyc tests
290
+ run : git clone https://github.com/python/mypy.git
291
+ - name : Checkout typing_extensions
292
+ uses : actions/checkout@v4
293
+ with :
294
+ path : typing-extensions-latest
292
295
- name : Install mypy test requirements
293
296
run : |
294
297
set -x
@@ -324,28 +327,29 @@ jobs:
324
327
runs-on : ubuntu-latest
325
328
timeout-minutes : 60
326
329
steps :
330
+ - name : Setup Python
331
+ uses : actions/setup-python@v5
332
+ with :
333
+ python-version : ${{ matrix.python-version }}
327
334
- name : Checkout cattrs
328
335
run : git clone https://github.com/python-attrs/cattrs.git
329
336
- name : Checkout typing_extensions
330
337
uses : actions/checkout@v4
331
338
with :
332
339
path : typing-extensions-latest
333
- - name : Setup Python
334
- uses : actions/setup-python@v5
335
- with :
336
- python-version : ${{ matrix.python-version }}
337
340
- name : Install pdm for cattrs
338
341
run : pip install pdm
339
342
- name : Add latest typing-extensions as a dependency
340
343
run : |
344
+ cd cattrs
341
345
pdm remove typing-extensions
342
- pdm add --dev ./typing-extensions-latest
346
+ pdm add --dev .. /typing-extensions-latest
343
347
- name : Install cattrs test dependencies
344
- run : pdm install --dev -G :all
348
+ run : cd cattrs; pdm install --dev -G :all
345
349
- name : List all installed dependencies
346
- run : pdm list -vv
350
+ run : cd cattrs; pdm list -vv
347
351
- name : Run cattrs tests
348
- run : pdm run pytest tests
352
+ run : cd cattrs; pdm run pytest tests
349
353
350
354
create-issue-on-failure :
351
355
name : Create an issue if daily tests failed
0 commit comments