File tree 1 file changed +6
-2
lines changed 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -70,11 +70,15 @@ def main() -> None: # noqa: C901,PLR0912
70
70
if match :
71
71
py_version = match .groups ()[0 ]
72
72
env_python = f"{ py_version [0 ]} .{ py_version [1 :]} "
73
+ platform_name = "linux" # implicit platform (os) to use
74
+ for platform_name in PLATFORM_MAP :
75
+ if platform_name in name :
76
+ break
73
77
data = {
74
78
"name" : name ,
75
79
"command" : commands [0 ],
76
80
"python_version" : PYTHON_REDIRECTS .get (env_python , env_python ),
77
- "os" : PLATFORM_MAP ["linux" ],
81
+ "os" : PLATFORM_MAP [platform_name ],
78
82
}
79
83
for index , command in enumerate (commands [1 :]):
80
84
data [f"command{ index + 2 } " ] = command
@@ -131,7 +135,7 @@ def main() -> None: # noqa: C901,PLR0912
131
135
os .environ ["INPUT_MAX_PYTHON" ] = "3.13"
132
136
os .environ ["INPUT_MIN_PYTHON" ] = "3.8"
133
137
os .environ ["INPUT_OTHER_NAMES" ] = (
134
- "lint\n pkg\n py313-devel\n all:tox -e unit;tox -e integration"
138
+ "lint\n pkg\n py313-devel\n all-macos :tox -e unit;tox -e integration"
135
139
)
136
140
os .environ ["INPUT_PLATFORMS" ] = "linux,macos" # macos and windows
137
141
os .environ ["INPUT_SKIP_EXPLODE" ] = "0"
You can’t perform that action at this time.
0 commit comments