@@ -75,14 +75,14 @@ commands:
7575 steps :
7676 - restore_cache :
7777 keys :
78- - v1-verified-codemod-repos-{{ checksum "tests/verified_codemods/codemod_data/repo_commits.json" }}-{{.Environment.CIRCLE_NODE_INDEX}}-{{.Environment.CIRCLE_NODE_TOTAL}}
78+ - v1-verified-codemod-repos-{{ checksum "tests/integration/ verified_codemods/codemod_data/repo_commits.json" }}-{{.Environment.CIRCLE_NODE_INDEX}}-{{.Environment.CIRCLE_NODE_TOTAL}}
7979 - run :
8080 command : |
8181 uv run --frozen gs codemod clone-repos --verified-codemod-repos --token ${CODEGEN_BOT_GHE_TOKEN}
8282 - save_cache :
8383 paths :
8484 - $GITHUB_WORKSPACE
85- key : v1-verified-codemod-repos-{{ checksum "tests/verified_codemods/codemod_data/repo_commits.json" }}-{{.Environment.CIRCLE_NODE_INDEX}}-{{.Environment.CIRCLE_NODE_TOTAL}}
85+ key : v1-verified-codemod-repos-{{ checksum "tests/integration/ verified_codemods/codemod_data/repo_commits.json" }}-{{.Environment.CIRCLE_NODE_INDEX}}-{{.Environment.CIRCLE_NODE_TOTAL}}
8686 build-wheels :
8787 parameters :
8888 base_packages :
@@ -237,7 +237,7 @@ jobs:
237237 - fetch-verified-codemods
238238 - cache-verified-codemod-repos
239239 - run_ats :
240- default_tests : " tests/codemod/test_verified_codemods.py"
240+ default_tests : " tests/integration/ codemod/test_verified_codemods.py"
241241 codecov_flags : " smart-tests-codemod"
242242 collect_args : --cli-api-key ${PROD_CLI_API_KEY} --token ${CODEGEN_BOT_GHE_TOKEN}
243243 ats_collect_args : --cli-api-key=${PROD_CLI_API_KEY},--token=${CODEGEN_BOT_GHE_TOKEN},
@@ -264,7 +264,7 @@ jobs:
264264 - clone-repos :
265265 extra_repos : false
266266 - run_ats :
267- default_tests : " tests/codemod/test_codemods.py"
267+ default_tests : " tests/integration/ codemod/test_codemods.py"
268268 codecov_flags : " smart-tests-codemod-oss"
269269 collect_args : --size=<<parameters.size>> --sync-graph=<<parameters.sync_graph>> --token ${CODEGEN_BOT_GHE_TOKEN}
270270 ats_collect_args : --size=<<parameters.size>>,--sync-graph=<<parameters.sync_graph>>,--token=${CODEGEN_BOT_GHE_TOKEN},
@@ -297,7 +297,7 @@ jobs:
297297 if [ "<<parameters.extra_repos>>" = "true" ]; then
298298 EXTRA_REPOS_ARG="--extra-repos=true"
299299 fi
300- PYTEST_ARGS="${EXTRA_REPOS_ARG} --token ${CODEGEN_BOT_GHE_TOKEN} -o junit_suite_name=\"${CIRCLE_JOB}\" tests/codemod/test_parse.py"
300+ PYTEST_ARGS="${EXTRA_REPOS_ARG} --token ${CODEGEN_BOT_GHE_TOKEN} -o junit_suite_name=\"${CIRCLE_JOB}\" tests/integration/ codemod/test_parse.py"
301301 echo "Running tests with args: $PYTEST_ARGS"
302302 TESTS_TO_RUN=$(PYTEST_ARGS=${PYTEST_ARGS} ./.circleci/collect.sh)
303303 echo $TESTS_TO_RUN | circleci tests run --command "ulimit -s unlimited; xargs uv run --frozen pytest -n auto ${PYTEST_ARGS}"
0 commit comments