@@ -272,7 +272,7 @@ def test_building_ruby_3_2(self, use_container):
272
272
273
273
self ._test_with_default_gemfile ("ruby3.2" , use_container , "Ruby" , self .test_data_path )
274
274
275
- @parameterized .expand ([("ruby3.3" ,)])
275
+ @parameterized .expand ([("ruby3.3" ,), ( "ruby3.4" ,) ])
276
276
@skipIf (SKIP_DOCKER_TESTS or SKIP_DOCKER_BUILD , SKIP_DOCKER_MESSAGE )
277
277
@pytest .mark .al2023
278
278
def test_building_ruby_al2023 (self , runtime ):
@@ -288,7 +288,14 @@ def test_building_ruby_3_2(self, use_container):
288
288
self .skipTest (SKIP_DOCKER_MESSAGE )
289
289
self ._test_with_default_gemfile ("ruby3.2" , use_container , "Ruby32" , self .test_data_path , "x86_64" )
290
290
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
+ )
292
299
@skipIf (SKIP_DOCKER_TESTS or SKIP_DOCKER_BUILD , SKIP_DOCKER_MESSAGE )
293
300
@pytest .mark .al2023
294
301
def test_building_ruby_al2023 (self , runtime , codeuri , use_container ):
@@ -301,7 +308,7 @@ class TestBuildCommand_RubyFunctionsWithGemfileInTheRoot(BuildIntegRubyBase):
301
308
This doesn't apply to containerized build, since it copies only the function folder to the container
302
309
"""
303
310
304
- @parameterized .expand ([("ruby3.2" ), ("ruby3.3" )])
311
+ @parameterized .expand ([("ruby3.2" , ), ("ruby3.3" ,), ( "ruby3.4" , )])
305
312
def test_building_ruby_in_process_with_root_gemfile (self , runtime ):
306
313
self ._prepare_application_environment (runtime )
307
314
self ._test_with_default_gemfile (runtime , False , "RubyWithRootGemfile" , self .working_dir )
@@ -948,7 +955,7 @@ class TestBuildWithDedupBuilds(DedupBuildIntegBase):
948
955
),
949
956
(False , "Node" , "main.lambdaHandler" , "main.secondLambdaHandler" , "nodejs20.x" ),
950
957
(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 " ),
952
959
# container
953
960
(
954
961
True ,
@@ -959,7 +966,7 @@ class TestBuildWithDedupBuilds(DedupBuildIntegBase):
959
966
),
960
967
(True , "Node" , "main.lambdaHandler" , "main.secondLambdaHandler" , "nodejs20.x" ),
961
968
(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 " ),
963
970
]
964
971
)
965
972
def test_dedup_build (self , use_container , code_uri , function1_handler , function2_handler , runtime ):
@@ -1079,7 +1086,7 @@ class TestBuildWithCacheBuilds(CachedBuildIntegBase):
1079
1086
),
1080
1087
(False , "Node" , "main.lambdaHandler" , "main.secondLambdaHandler" , "nodejs20.x" ),
1081
1088
(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 " ),
1083
1090
# container
1084
1091
(
1085
1092
True ,
@@ -1090,7 +1097,7 @@ class TestBuildWithCacheBuilds(CachedBuildIntegBase):
1090
1097
),
1091
1098
(True , "Node" , "main.lambdaHandler" , "main.secondLambdaHandler" , "nodejs20.x" ),
1092
1099
(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 " ),
1094
1101
]
1095
1102
)
1096
1103
def test_cache_build (self , use_container , code_uri , function1_handler , function2_handler , runtime ):
@@ -1270,7 +1277,7 @@ class TestParallelBuilds(DedupBuildIntegBase):
1270
1277
),
1271
1278
(False , "Node" , "main.lambdaHandler" , "main.secondLambdaHandler" , "nodejs20.x" ),
1272
1279
(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 " ),
1274
1281
# container
1275
1282
(
1276
1283
True ,
@@ -1281,7 +1288,7 @@ class TestParallelBuilds(DedupBuildIntegBase):
1281
1288
),
1282
1289
(True , "Node" , "main.lambdaHandler" , "main.secondLambdaHandler" , "nodejs20.x" ),
1283
1290
(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 " ),
1285
1292
]
1286
1293
)
1287
1294
def test_dedup_build (self , use_container , code_uri , function1_handler , function2_handler , runtime ):
0 commit comments