diff --git a/dev/sparktestsupport/modules.py b/dev/sparktestsupport/modules.py index 5d28b9ee73374..2ba3390ea877a 100644 --- a/dev/sparktestsupport/modules.py +++ b/dev/sparktestsupport/modules.py @@ -177,6 +177,9 @@ def __hash__(self): sbt_test_goals=[ "catalyst/test", ], + environ=None if "GITHUB_ACTIONS" not in os.environ else { + "ENABLE_DOCKER_INTEGRATION_TESTS": "1" + }, ) sql = Module( @@ -188,6 +191,9 @@ def __hash__(self): sbt_test_goals=[ "sql/test", ], + environ=None if "GITHUB_ACTIONS" not in os.environ else { + "ENABLE_DOCKER_INTEGRATION_TESTS": "1" + }, ) hive = Module( @@ -769,7 +775,7 @@ def __hash__(self): docker_integration_tests = Module( name="docker-integration-tests", - dependencies=[], + dependencies=[sql], build_profile_flags=["-Pdocker-integration-tests"], source_file_regexes=["external/docker-integration-tests"], sbt_test_goals=["docker-integration-tests/test"],