File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -292,7 +292,11 @@ jobs:
292292 extra_repos : <<parameters.extra_repos>>
293293 - run :
294294 command : |
295- PYTEST_ARGS='--extra-repos=<<parameters.extra_repos>> --token ${CODEGEN_BOT_GHE_TOKEN} -o junit_suite_name="${CIRCLE_JOB}" tests/codemod/test_parse.py'
295+ EXTRA_REPOS_ARG=""
296+ if [ "<<parameters.extra_repos>>" = "true" ]; then
297+ EXTRA_REPOS_ARG="--extra-repos=true"
298+ fi
299+ PYTEST_ARGS="${EXTRA_REPOS_ARG} --token ${CODEGEN_BOT_GHE_TOKEN} -o junit_suite_name=\"${CIRCLE_JOB}\" tests/codemod/test_parse.py"
296300 echo "Running tests with args: $PYTEST_ARGS"
297301 TESTS_TO_RUN=$(PYTEST_ARGS=${PYTEST_ARGS} ./.circleci/collect.sh)
298302 echo $TESTS_TO_RUN | circleci tests run --command "ulimit -s unlimited; xargs uv run --frozen pytest -n auto ${PYTEST_ARGS}"
You can’t perform that action at this time.
0 commit comments