@@ -48,24 +48,27 @@ jobs:
4848 runs-on : ubuntu-latest
4949 timeout-minutes : 60
5050 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
5158 - name : Checkout pydantic
5259 run : git clone https://github.com/pydantic/pydantic.git
5360 - name : Checkout typing_extensions
5461 uses : actions/checkout@v4
5562 with :
5663 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 }}
6164 - 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
6366 - name : Install pydantic test dependencies
64- run : uv sync --group dev
67+ run : cd pydantic; uv sync --group dev
6568 - name : List installed dependencies
66- run : uv pip list
69+ run : cd pydantic; uv pip list
6770 - name : Run pydantic tests
68- run : uv run pytest
71+ run : cd pydantic; uv run pytest
6972
7073 typing_inspect :
7174 name : typing_inspect tests
@@ -86,18 +89,18 @@ jobs:
8689 runs-on : ubuntu-latest
8790 timeout-minutes : 60
8891 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
9592 - name : Setup Python
9693 uses : actions/setup-python@v5
9794 with :
9895 python-version : ${{ matrix.python-version }}
9996 - name : Install uv
10097 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
101104 - name : Install typing_inspect test dependencies
102105 run : |
103106 set -x
@@ -131,19 +134,19 @@ jobs:
131134 runs-on : ubuntu-latest
132135 timeout-minutes : 60
133136 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
140137 - name : Setup Python
141138 uses : actions/setup-python@v5
142139 with :
143140 python-version : ${{ matrix.python-version }}
144141 allow-prereleases : true
145142 - name : Install uv
146143 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
147150 - name : Install pyanalyze test requirements
148151 run : |
149152 set -x
@@ -177,19 +180,19 @@ jobs:
177180 runs-on : ubuntu-latest
178181 timeout-minutes : 60
179182 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
186183 - name : Setup Python
187184 uses : actions/setup-python@v5
188185 with :
189186 python-version : ${{ matrix.python-version }}
190187 allow-prereleases : true
191188 - name : Install uv
192189 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
193196 - name : Install typeguard test requirements
194197 run : |
195198 set -x
@@ -224,18 +227,18 @@ jobs:
224227 runs-on : ubuntu-latest
225228 timeout-minutes : 60
226229 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
233230 - name : Setup Python
234231 uses : actions/setup-python@v5
235232 with :
236233 python-version : ${{ matrix.python-version }}
237234 - name : Install uv
238235 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
239242 - name : Configure git for typed-argument-parser tests
240243 # typed-argument parser does this in their CI,
241244 # and the tests fail unless we do this
@@ -276,19 +279,19 @@ jobs:
276279 runs-on : ubuntu-latest
277280 timeout-minutes : 60
278281 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
285282 - name : Setup Python
286283 uses : actions/setup-python@v5
287284 with :
288285 python-version : ${{ matrix.python-version }}
289286 allow-prereleases : true
290287 - name : Install uv
291288 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
292295 - name : Install mypy test requirements
293296 run : |
294297 set -x
@@ -324,28 +327,29 @@ jobs:
324327 runs-on : ubuntu-latest
325328 timeout-minutes : 60
326329 steps :
330+ - name : Setup Python
331+ uses : actions/setup-python@v5
332+ with :
333+ python-version : ${{ matrix.python-version }}
327334 - name : Checkout cattrs
328335 run : git clone https://github.com/python-attrs/cattrs.git
329336 - name : Checkout typing_extensions
330337 uses : actions/checkout@v4
331338 with :
332339 path : typing-extensions-latest
333- - name : Setup Python
334- uses : actions/setup-python@v5
335- with :
336- python-version : ${{ matrix.python-version }}
337340 - name : Install pdm for cattrs
338341 run : pip install pdm
339342 - name : Add latest typing-extensions as a dependency
340343 run : |
344+ cd cattrs
341345 pdm remove typing-extensions
342- pdm add --dev ./typing-extensions-latest
346+ pdm add --dev .. /typing-extensions-latest
343347 - name : Install cattrs test dependencies
344- run : pdm install --dev -G :all
348+ run : cd cattrs; pdm install --dev -G :all
345349 - name : List all installed dependencies
346- run : pdm list -vv
350+ run : cd cattrs; pdm list -vv
347351 - name : Run cattrs tests
348- run : pdm run pytest tests
352+ run : cd cattrs; pdm run pytest tests
349353
350354 create-issue-on-failure :
351355 name : Create an issue if daily tests failed
0 commit comments