From 2c12cfe45f65a2ae43dbee182187085ad77384b5 Mon Sep 17 00:00:00 2001 From: codegen-bot Date: Mon, 27 Jan 2025 11:44:51 -0800 Subject: [PATCH 1/4] Move remote git tests into tests/integration --- .../codegen/git/clients/test_github_client_factory.py | 0 tests/{unit => integration}/codegen/git/conftest.py | 0 .../codegen/git/repo_operator/test_remote_repo_operator.py | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename tests/{unit => integration}/codegen/git/clients/test_github_client_factory.py (100%) rename tests/{unit => integration}/codegen/git/conftest.py (100%) rename tests/{unit => integration}/codegen/git/repo_operator/test_remote_repo_operator.py (100%) diff --git a/tests/unit/codegen/git/clients/test_github_client_factory.py b/tests/integration/codegen/git/clients/test_github_client_factory.py similarity index 100% rename from tests/unit/codegen/git/clients/test_github_client_factory.py rename to tests/integration/codegen/git/clients/test_github_client_factory.py diff --git a/tests/unit/codegen/git/conftest.py b/tests/integration/codegen/git/conftest.py similarity index 100% rename from tests/unit/codegen/git/conftest.py rename to tests/integration/codegen/git/conftest.py diff --git a/tests/unit/codegen/git/repo_operator/test_remote_repo_operator.py b/tests/integration/codegen/git/repo_operator/test_remote_repo_operator.py similarity index 100% rename from tests/unit/codegen/git/repo_operator/test_remote_repo_operator.py rename to tests/integration/codegen/git/repo_operator/test_remote_repo_operator.py From effd4224a787f6ce3e0e0c01fa3dd80b88860122 Mon Sep 17 00:00:00 2001 From: codegen-bot Date: Mon, 27 Jan 2025 12:59:30 -0800 Subject: [PATCH 2/4] add pr check --- .circleci/config.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 51d55caac..4f6cdc645 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -219,6 +219,16 @@ jobs: - run_ats: default_tests: "tests/unit" collect_args: --timeout 50 + integration-tests: + parallelism: 3 + executor: default_image + resource_class: "2xlarge" + steps: + - setup-uv + - run: + command: | + uv run --frozen pytest -o junit_suite_name="${CIRCLE_JOB}" -n auto tests/integration/codegen + - upload-tests doctests: executor: default_image steps: From b38b86b3b9b874eb06c2643b869aa89ea7b2d20a Mon Sep 17 00:00:00 2001 From: codegen-bot Date: Mon, 27 Jan 2025 12:59:52 -0800 Subject: [PATCH 3/4] add pr check --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4f6cdc645..abc8c07ed 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -455,6 +455,7 @@ workflows: pr_checks: jobs: - unit-tests + - integration-tests - hold-codemod-tests: type: approval filters: From c440e5a0fbc326963be7e3f9fafc59a8813821b2 Mon Sep 17 00:00:00 2001 From: codegen-bot Date: Mon, 27 Jan 2025 13:02:59 -0800 Subject: [PATCH 4/4] ellen --- .circleci/config.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index abc8c07ed..ed4ae5009 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -220,9 +220,8 @@ jobs: default_tests: "tests/unit" collect_args: --timeout 50 integration-tests: - parallelism: 3 executor: default_image - resource_class: "2xlarge" + resource_class: "large" steps: - setup-uv - run: