(node)
| 189 | # 2) Collect workflow modules referenced via `module: "modules/xxx.yaml"` |
| 190 | |
| 191 | def _iter_module_paths(node): |
| 192 | if isinstance(node, dict): |
| 193 | for k, v in node.items(): |
| 194 | if k == "module" and isinstance(v, str): |
| 195 | yield v |
| 196 | else: |
| 197 | yield from _iter_module_paths(v) |
| 198 | elif isinstance(node, list): |
| 199 | for item in node: |
| 200 | yield from _iter_module_paths(item) |
| 201 | |
| 202 | for module_rel in _iter_module_paths(yaml_data): |
| 203 | # Resolve module path using the same semantics as runtime: |
no outgoing calls
no test coverage detected