Skip to content

Commit c933355

Browse files
authored
ci: always recreate env for codegen (#7095)
1 parent a1876f1 commit c933355

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tox.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ allowlist_externals =
210210

211211
[testenv:build_graphql_schema]
212212
description = Export GraphQL schema to a file (Python 3.9)
213+
recreate = true
213214
basepython = python3.9
214215
changedir = app
215216
deps =
@@ -222,6 +223,7 @@ commands =
222223

223224
[testenv:build_openapi_schema]
224225
description = Export OpenAPI schema to a file (Python 3.9)
226+
recreate = true
225227
basepython = python3.9
226228
changedir = schemas
227229
commands_pre =
@@ -306,6 +308,7 @@ commands =
306308

307309
[testenv:openapi_codegen_for_python_client]
308310
description = Generate data models from OpenAPI schema for Python client
311+
recreate = true
309312
changedir = packages/phoenix-client/src/phoenix/client/__generated__/
310313
commands_pre =
311314
uv tool install [email protected]
@@ -335,6 +338,7 @@ commands =
335338

336339
[testenv:graphql_codegen_for_python_tests]
337340
description = Generate data models from GraphQL schema for Python tests
341+
recreate = true
338342
changedir = tests/__generated__/graphql/
339343
commands =
340344
uv pip list -v

0 commit comments

Comments
 (0)