@@ -48,26 +48,27 @@ jobs:
48
48
runs-on : ubuntu-latest
49
49
timeout-minutes : 60
50
50
steps :
51
- - name : Checkout pydantic
52
- uses : actions/checkout@v4
51
+ - name : Setup Python
52
+ uses : actions/setup-python@v5
53
53
with :
54
- repository : pydantic/pydantic
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
58
+ - name : Checkout pydantic
59
+ run : git clone https://github.com/pydantic/pydantic.git
55
60
- name : Checkout typing_extensions
56
61
uses : actions/checkout@v4
57
62
with :
58
63
path : typing-extensions-latest
59
- - name : Install uv
60
- uses : astral-sh/setup-uv@v3
61
- - name : Set up Python ${{ matrix.python-version }}
62
- run : uv python install ${{ matrix.python-version }}
63
64
- name : Add local version of typing_extensions as a dependency
64
- run : uv add --editable ./typing-extensions-latest
65
+ run : cd pydantic; uv add --editable . ./typing-extensions-latest
65
66
- name : Install pydantic test dependencies
66
- run : uv sync --group dev
67
+ run : cd pydantic; uv sync --group dev
67
68
- name : List installed dependencies
68
- run : uv pip list
69
+ run : cd pydantic; uv pip list
69
70
- name : Run pydantic tests
70
- run : uv run pytest
71
+ run : cd pydantic; uv run pytest
71
72
72
73
typing_inspect :
73
74
name : typing_inspect tests
@@ -88,21 +89,18 @@ jobs:
88
89
runs-on : ubuntu-latest
89
90
timeout-minutes : 60
90
91
steps :
91
- - name : Checkout typing_inspect
92
- uses : actions/checkout@v4
93
- with :
94
- repository : ilevkivskyi/typing_inspect
95
- path : typing_inspect
96
- - name : Checkout typing_extensions
97
- uses : actions/checkout@v4
98
- with :
99
- path : typing-extensions-latest
100
92
- name : Setup Python
101
93
uses : actions/setup-python@v5
102
94
with :
103
95
python-version : ${{ matrix.python-version }}
104
96
- name : Install uv
105
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
106
104
- name : Install typing_inspect test dependencies
107
105
run : |
108
106
set -x
@@ -136,22 +134,19 @@ jobs:
136
134
runs-on : ubuntu-latest
137
135
timeout-minutes : 60
138
136
steps :
139
- - name : Check out pyanalyze
140
- uses : actions/checkout@v4
141
- with :
142
- repository : quora/pyanalyze
143
- path : pyanalyze
144
- - name : Checkout typing_extensions
145
- uses : actions/checkout@v4
146
- with :
147
- path : typing-extensions-latest
148
137
- name : Setup Python
149
138
uses : actions/setup-python@v5
150
139
with :
151
140
python-version : ${{ matrix.python-version }}
152
141
allow-prereleases : true
153
142
- name : Install uv
154
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
155
150
- name : Install pyanalyze test requirements
156
151
run : |
157
152
set -x
@@ -185,22 +180,19 @@ jobs:
185
180
runs-on : ubuntu-latest
186
181
timeout-minutes : 60
187
182
steps :
188
- - name : Check out typeguard
189
- uses : actions/checkout@v4
190
- with :
191
- repository : agronholm/typeguard
192
- path : typeguard
193
- - name : Checkout typing_extensions
194
- uses : actions/checkout@v4
195
- with :
196
- path : typing-extensions-latest
197
183
- name : Setup Python
198
184
uses : actions/setup-python@v5
199
185
with :
200
186
python-version : ${{ matrix.python-version }}
201
187
allow-prereleases : true
202
188
- name : Install uv
203
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
204
196
- name : Install typeguard test requirements
205
197
run : |
206
198
set -x
@@ -235,21 +227,18 @@ jobs:
235
227
runs-on : ubuntu-latest
236
228
timeout-minutes : 60
237
229
steps :
238
- - name : Check out typed-argument-parser
239
- uses : actions/checkout@v4
240
- with :
241
- repository : swansonk14/typed-argument-parser
242
- path : typed-argument-parser
243
- - name : Checkout typing_extensions
244
- uses : actions/checkout@v4
245
- with :
246
- path : typing-extensions-latest
247
230
- name : Setup Python
248
231
uses : actions/setup-python@v5
249
232
with :
250
233
python-version : ${{ matrix.python-version }}
251
234
- name : Install uv
252
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
253
242
- name : Configure git for typed-argument-parser tests
254
243
# typed-argument parser does this in their CI,
255
244
# and the tests fail unless we do this
@@ -290,22 +279,19 @@ jobs:
290
279
runs-on : ubuntu-latest
291
280
timeout-minutes : 60
292
281
steps :
293
- - name : Checkout mypy for stubtest and mypyc tests
294
- uses : actions/checkout@v4
295
- with :
296
- repository : python/mypy
297
- path : mypy
298
- - name : Checkout typing_extensions
299
- uses : actions/checkout@v4
300
- with :
301
- path : typing-extensions-latest
302
282
- name : Setup Python
303
283
uses : actions/setup-python@v5
304
284
with :
305
285
python-version : ${{ matrix.python-version }}
306
286
allow-prereleases : true
307
287
- name : Install uv
308
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
309
295
- name : Install mypy test requirements
310
296
run : |
311
297
set -x
@@ -341,30 +327,29 @@ jobs:
341
327
runs-on : ubuntu-latest
342
328
timeout-minutes : 60
343
329
steps :
344
- - name : Checkout cattrs
345
- uses : actions/checkout@v4
330
+ - name : Setup Python
331
+ uses : actions/setup-python@v5
346
332
with :
347
- repository : python-attrs/cattrs
333
+ python-version : ${{ matrix.python-version }}
334
+ - name : Checkout cattrs
335
+ run : git clone https://github.com/python-attrs/cattrs.git
348
336
- name : Checkout typing_extensions
349
337
uses : actions/checkout@v4
350
338
with :
351
339
path : typing-extensions-latest
352
- - name : Setup Python
353
- uses : actions/setup-python@v5
354
- with :
355
- python-version : ${{ matrix.python-version }}
356
340
- name : Install pdm for cattrs
357
341
run : pip install pdm
358
342
- name : Add latest typing-extensions as a dependency
359
343
run : |
344
+ cd cattrs
360
345
pdm remove typing-extensions
361
- pdm add --dev ./typing-extensions-latest
346
+ pdm add --dev .. /typing-extensions-latest
362
347
- name : Install cattrs test dependencies
363
- run : pdm install --dev -G :all
348
+ run : cd cattrs; pdm install --dev -G :all
364
349
- name : List all installed dependencies
365
- run : pdm list -vv
350
+ run : cd cattrs; pdm list -vv
366
351
- name : Run cattrs tests
367
- run : pdm run pytest tests
352
+ run : cd cattrs; pdm run pytest tests
368
353
369
354
create-issue-on-failure :
370
355
name : Create an issue if daily tests failed
0 commit comments