Skip to content

Commit dc69fb5

Browse files
kinowGlassOfWhiskey
authored andcommitted
Add a conformance test for MultipleInputFeatureRequirement on Workflow outputs (#169)
1 parent 05a3a77 commit dc69fb5

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

conformance_tests.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3570,6 +3570,18 @@
35703570
and capture the output correctly.
35713571
tags: [ shell_command, command_line_tool ]
35723572

3573+
- label: multiple-input-feature-requirement
3574+
output: {
3575+
"hello_world_in_two_lines": [
3576+
"hello\n",
3577+
"world\n"
3578+
]
3579+
}
3580+
tool: tests/multiple_input_feature_requirement.cwl
3581+
doc: |
3582+
MultipleInputFeatureRequirement on workflow outputs.
3583+
tags: [ workflow, multiple_input ]
3584+
35733585
- label: js-input-record
35743586
# The output does not have the last \n due to the -n passed to echo
35753587
output: {
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
cwlVersion: v1.2
2+
class: Workflow
3+
4+
requirements:
5+
- class: MultipleInputFeatureRequirement
6+
7+
inputs: []
8+
9+
steps:
10+
step1:
11+
run: echo-tool.cwl
12+
in:
13+
in:
14+
default: hello
15+
out: [out]
16+
step2:
17+
run: echo-tool.cwl
18+
in:
19+
in:
20+
default: world
21+
out: [out]
22+
23+
outputs:
24+
hello_world_in_two_lines:
25+
type:
26+
type: array
27+
items: string
28+
# Only allowed with MultipleInputFeatureRequirement
29+
outputSource: [step1/out, step2/out]

0 commit comments

Comments
 (0)