@@ -66,23 +66,6 @@ commands:
6666 paths :
6767 - $GITHUB_WORKSPACE
6868 key : repos-<<parameters.extra_repos>>
69- fetch-verified-codemods :
70- steps :
71- - run :
72- command : |
73- uv run --frozen python -m tests.shared.codemod.commands fetch-verified-codemods --cli-api-key ${PROD_CLI_API_KEY}
74- cache-verified-codemod-repos :
75- steps :
76- - restore_cache :
77- keys :
78- - v1-verified-codemod-repos-{{ checksum "tests/integration/verified_codemods/codemod_data/repo_commits.json" }}-{{.Environment.CIRCLE_NODE_INDEX}}-{{.Environment.CIRCLE_NODE_TOTAL}}
79- - run :
80- command : |
81- uv run --frozen python -m tests.shared.codemod.commands clone-repos --verified-codemod-repos --token ${CODEGEN_BOT_GHE_TOKEN}
82- - save_cache :
83- paths :
84- - $GITHUB_WORKSPACE
85- key : v1-verified-codemod-repos-{{ checksum "tests/integration/verified_codemods/codemod_data/repo_commits.json" }}-{{.Environment.CIRCLE_NODE_INDEX}}-{{.Environment.CIRCLE_NODE_TOTAL}}
8669 build-wheels :
8770 steps :
8871 - install-uv
@@ -192,54 +175,6 @@ commands:
192175 # Define a job to be invoked later in a workflow.
193176# See: https://circleci.com/docs/jobs-steps/#jobs-overview & https://circleci.com/docs/configuration-reference/#jobs
194177jobs :
195- unit-tests :
196- parallelism : 8
197- executor : default_image
198- resource_class : " xlarge"
199- steps :
200- - setup-uv
201- - node/install :
202- use-nvm-cache : true
203- - run_ats :
204- default_tests : " tests/unit"
205- collect_args : --timeout 50
206- integration-tests :
207- executor : default_image
208- resource_class : " large"
209- steps :
210- - setup-uv
211- - run :
212- command : |
213- uv run --frozen pytest -o junit_suite_name="${CIRCLE_JOB}" -n auto tests/integration/codegen
214- - upload-tests
215- doctests :
216- executor : default_image
217- steps :
218- - setup-uv
219- - run :
220- command : |
221- uv run --frozen pytest -o junit_suite_name="${CIRCLE_JOB}" -n auto docs
222- - upload-tests
223- codemod-tests :
224- parallelism : 8
225- executor : default_vm
226- resource_class : " 2xlarge+"
227- steps :
228- - install-uv
229- - setup-uv
230- - fetch-verified-codemods
231- - cache-verified-codemod-repos
232- - run_ats :
233- default_tests : " tests/integration/codemod/test_verified_codemods.py"
234- codecov_flags : " smart-tests-codemod"
235- collect_args : --cli-api-key ${PROD_CLI_API_KEY} --token ${CODEGEN_BOT_GHE_TOKEN}
236- ats_collect_args : --cli-api-key=${PROD_CLI_API_KEY},--token=${CODEGEN_BOT_GHE_TOKEN},
237- split_tests : false
238- - slack/notify :
239- event : fail
240- branch_pattern : " develop"
241- channel : " alerts-codemod-tests"
242- template : basic_fail_1
243178 oss-codemod-tests :
244179 parameters :
245180 sync_graph :
@@ -372,10 +307,6 @@ jobs:
372307 channel : " release"
373308 template : success_tagged_deploy_1
374309workflows :
375- pr_checks :
376- jobs :
377- - unit-tests
378- - integration-tests
379310 publish-packages :
380311 jobs :
381312 - linux-wheels :
0 commit comments