27
27
"nightly-latest"
28
28
]
29
29
30
- def is_version_and_os_excluded (version , os , exclude_params ):
30
+ def is_os_and_version_excluded (version , os , exclude_params ):
31
31
for exclude_param in exclude_params :
32
32
if exclude_param [0 ] == os and exclude_param [1 ] == version :
33
33
return True
@@ -63,7 +63,7 @@ def writeHeader(checkStream):
63
63
with open (file , 'r' ) as checkStream :
64
64
checkSpecification = yaml .load (checkStream )
65
65
matrix = []
66
- excludedVersionsAndOses = checkSpecification .get ('excludeOsAndVersionCombination' , [])
66
+ excludedOsesAndVersions = checkSpecification .get ('excludeOsAndVersionCombination' , [])
67
67
for version in checkSpecification .get ('versions' , defaultTestVersions ):
68
68
runnerImages = ["ubuntu-latest" , "macos-latest" , "windows-latest" ]
69
69
operatingSystems = checkSpecification .get ('operatingSystems' , ["ubuntu" , "macos" , "windows" ])
@@ -73,7 +73,7 @@ def writeHeader(checkStream):
73
73
74
74
for runnerImage in runnerImagesForOs :
75
75
# Skip appending this combination to the matrix if it is explicitly excluded.
76
- if is_version_and_os_excluded (version , operatingSystem , excludedVersionsAndOses ):
76
+ if is_os_and_version_excluded (version , operatingSystem , excludedOsesAndVersions ):
77
77
continue
78
78
79
79
# Prior to CLI v2.15.1, ARM runners were not supported by the build tracer.
0 commit comments