address review: quote paths in test shell commands

Quote both the Python executable and script file paths in the
run: commands to handle spaces in paths on Windows.
This commit is contained in:
Manfred Riem
2026-05-21 09:46:18 -05:00
parent f8019eba84
commit 8b24011fd8

View File

@@ -1934,7 +1934,7 @@ steps:
steps:
- id: attempt
type: shell
run: {py} {script_file}
run: '"{py}" "{script_file}"'
"""
definition = WorkflowDefinition.from_string(yaml_str)
engine = WorkflowEngine(project_dir)
@@ -1985,7 +1985,7 @@ steps:
steps:
- id: attempt
type: shell
run: {py} {script_file}
run: '"{py}" "{script_file}"'
"""
definition = WorkflowDefinition.from_string(yaml_str)
engine = WorkflowEngine(project_dir)
@@ -2031,7 +2031,7 @@ steps:
steps:
- id: tick
type: shell
run: {py} {script_file}
run: '"{py}" "{script_file}"'
"""
definition = WorkflowDefinition.from_string(yaml_str)
engine = WorkflowEngine(project_dir)
@@ -2083,7 +2083,7 @@ steps:
steps:
- id: tick
type: shell
run: {py} {script_file}
run: '"{py}" "{script_file}"'
"""
definition = WorkflowDefinition.from_string(yaml_str)
engine = WorkflowEngine(project_dir)