@@ -272,7 +272,7 @@ def test_building_ruby_3_2(self, use_container):
272272
273273 self ._test_with_default_gemfile ("ruby3.2" , use_container , "Ruby" , self .test_data_path )
274274
275- @parameterized .expand ([("ruby3.3" ,)])
275+ @parameterized .expand ([("ruby3.3" ,), ( "ruby3.4" ,) ])
276276 @skipIf (SKIP_DOCKER_TESTS or SKIP_DOCKER_BUILD , SKIP_DOCKER_MESSAGE )
277277 @pytest .mark .al2023
278278 def test_building_ruby_al2023 (self , runtime ):
@@ -288,7 +288,14 @@ def test_building_ruby_3_2(self, use_container):
288288 self .skipTest (SKIP_DOCKER_MESSAGE )
289289 self ._test_with_default_gemfile ("ruby3.2" , use_container , "Ruby32" , self .test_data_path , "x86_64" )
290290
291- @parameterized .expand ([("ruby3.3" , "Ruby33" , False ), ("ruby3.3" , "Ruby33" , True )])
291+ @parameterized .expand (
292+ [
293+ ("ruby3.3" , "Ruby33" , False ),
294+ ("ruby3.3" , "Ruby33" , True ),
295+ # ("ruby3.4", "Ruby34", False), # TODO: Try to make this work in AppVeyor (windows-al2023)
296+ ("ruby3.4" , "Ruby34" , True ),
297+ ]
298+ )
292299 @skipIf (SKIP_DOCKER_TESTS or SKIP_DOCKER_BUILD , SKIP_DOCKER_MESSAGE )
293300 @pytest .mark .al2023
294301 def test_building_ruby_al2023 (self , runtime , codeuri , use_container ):
@@ -301,7 +308,7 @@ class TestBuildCommand_RubyFunctionsWithGemfileInTheRoot(BuildIntegRubyBase):
301308 This doesn't apply to containerized build, since it copies only the function folder to the container
302309 """
303310
304- @parameterized .expand ([("ruby3.2" ), ("ruby3.3" )])
311+ @parameterized .expand ([("ruby3.2" , ), ("ruby3.3" ,), ( "ruby3.4" , )])
305312 def test_building_ruby_in_process_with_root_gemfile (self , runtime ):
306313 self ._prepare_application_environment (runtime )
307314 self ._test_with_default_gemfile (runtime , False , "RubyWithRootGemfile" , self .working_dir )
@@ -948,7 +955,7 @@ class TestBuildWithDedupBuilds(DedupBuildIntegBase):
948955 ),
949956 (False , "Node" , "main.lambdaHandler" , "main.secondLambdaHandler" , "nodejs20.x" ),
950957 (False , "Python" , "main.first_function_handler" , "main.second_function_handler" , "python3.9" ),
951- (False , "Ruby" , "app.lambda_handler" , "app.second_lambda_handler" , "ruby3.2 " ),
958+ (False , "Ruby" , "app.lambda_handler" , "app.second_lambda_handler" , "ruby3.4 " ),
952959 # container
953960 (
954961 True ,
@@ -959,7 +966,7 @@ class TestBuildWithDedupBuilds(DedupBuildIntegBase):
959966 ),
960967 (True , "Node" , "main.lambdaHandler" , "main.secondLambdaHandler" , "nodejs20.x" ),
961968 (True , "Python" , "main.first_function_handler" , "main.second_function_handler" , "python3.9" ),
962- (True , "Ruby" , "app.lambda_handler" , "app.second_lambda_handler" , "ruby3.2 " ),
969+ (True , "Ruby" , "app.lambda_handler" , "app.second_lambda_handler" , "ruby3.4 " ),
963970 ]
964971 )
965972 def test_dedup_build (self , use_container , code_uri , function1_handler , function2_handler , runtime ):
@@ -1079,7 +1086,7 @@ class TestBuildWithCacheBuilds(CachedBuildIntegBase):
10791086 ),
10801087 (False , "Node" , "main.lambdaHandler" , "main.secondLambdaHandler" , "nodejs20.x" ),
10811088 (False , "Python" , "main.first_function_handler" , "main.second_function_handler" , "python3.9" ),
1082- (False , "Ruby" , "app.lambda_handler" , "app.second_lambda_handler" , "ruby3.2 " ),
1089+ (False , "Ruby" , "app.lambda_handler" , "app.second_lambda_handler" , "ruby3.4 " ),
10831090 # container
10841091 (
10851092 True ,
@@ -1090,7 +1097,7 @@ class TestBuildWithCacheBuilds(CachedBuildIntegBase):
10901097 ),
10911098 (True , "Node" , "main.lambdaHandler" , "main.secondLambdaHandler" , "nodejs20.x" ),
10921099 (True , "Python" , "main.first_function_handler" , "main.second_function_handler" , "python3.9" ),
1093- (True , "Ruby" , "app.lambda_handler" , "app.second_lambda_handler" , "ruby3.2 " ),
1100+ (True , "Ruby" , "app.lambda_handler" , "app.second_lambda_handler" , "ruby3.4 " ),
10941101 ]
10951102 )
10961103 def test_cache_build (self , use_container , code_uri , function1_handler , function2_handler , runtime ):
@@ -1270,7 +1277,7 @@ class TestParallelBuilds(DedupBuildIntegBase):
12701277 ),
12711278 (False , "Node" , "main.lambdaHandler" , "main.secondLambdaHandler" , "nodejs20.x" ),
12721279 (False , "Python" , "main.first_function_handler" , "main.second_function_handler" , "python3.9" ),
1273- (False , "Ruby" , "app.lambda_handler" , "app.second_lambda_handler" , "ruby3.2 " ),
1280+ (False , "Ruby" , "app.lambda_handler" , "app.second_lambda_handler" , "ruby3.4 " ),
12741281 # container
12751282 (
12761283 True ,
@@ -1281,7 +1288,7 @@ class TestParallelBuilds(DedupBuildIntegBase):
12811288 ),
12821289 (True , "Node" , "main.lambdaHandler" , "main.secondLambdaHandler" , "nodejs20.x" ),
12831290 (True , "Python" , "main.first_function_handler" , "main.second_function_handler" , "python3.9" ),
1284- (True , "Ruby" , "app.lambda_handler" , "app.second_lambda_handler" , "ruby3.2 " ),
1291+ (True , "Ruby" , "app.lambda_handler" , "app.second_lambda_handler" , "ruby3.4 " ),
12851292 ]
12861293 )
12871294 def test_dedup_build (self , use_container , code_uri , function1_handler , function2_handler , runtime ):
0 commit comments