Skip to content

fix oss parse tests #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ jobs:
command: |
EXTRA_REPOS_ARG=""
if [ "<<parameters.extra_repos>>" = "true" ]; then
EXTRA_REPOS_ARG="--extra-repos"
EXTRA_REPOS_ARG="--extra-repos=true"
fi
PYTEST_ARGS="${EXTRA_REPOS_ARG} --token ${CODEGEN_BOT_GHE_TOKEN} -o junit_suite_name=\"${CIRCLE_JOB}\" tests/codemod/test_parse.py"
echo "Running tests with args: $PYTEST_ARGS"
Expand Down Expand Up @@ -402,7 +402,7 @@ workflows:
branches:
ignore: develop
- parse-tests:
name: Manual Parse Tests
name: Manual-Parse-Tests
filters:
branches:
ignore: develop
Expand Down
2 changes: 1 addition & 1 deletion tests/codemod/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def pytest_generate_tests(metafunc: Metafunc) -> None:
scope="session",
)
case "test_codemods_parse":
to_test = {name: repo for name, repo in repos.items() if repo.size == Size.Large or repo.repo_id is not None}
to_test = {name: repo for name, repo in repos.items()}
metafunc.parametrize(
"repo",
[pytest.param(repo, marks=pytest.mark.xdist_group(repo.name)) for repo in to_test.values()],
Expand Down
Loading