Skip to content

Commit

Permalink
add cwl-runner header to all CWL test files, mark them executable
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Oct 23, 2024
1 parent ad21f9a commit 086a4ab
Show file tree
Hide file tree
Showing 79 changed files with 36 additions and 11 deletions.
1 change: 1 addition & 0 deletions testdata/cond-single-source-wf-003.1.cwl
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env cwl-runner
class: Workflow
cwlVersion: v1.2
inputs:
Expand Down
3 changes: 2 additions & 1 deletion testdata/cond-single-source-wf-004.1.cwl
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env cwl-runner
class: Workflow
cwlVersion: v1.2
inputs:
Expand All @@ -20,4 +21,4 @@ outputs:
pickValue: the_only_non_null

requirements:
InlineJavascriptRequirement: {}
InlineJavascriptRequirement: {}
3 changes: 2 additions & 1 deletion testdata/cond-single-source-wf-005.1.cwl
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env cwl-runner
class: Workflow
cwlVersion: v1.2
inputs:
Expand All @@ -20,4 +21,4 @@ outputs:
pickValue: all_non_null

requirements:
InlineJavascriptRequirement: {}
InlineJavascriptRequirement: {}
1 change: 1 addition & 0 deletions testdata/cond-wf-003.1.cwl
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env cwl-runner
class: Workflow
cwlVersion: v1.2
inputs:
Expand Down
3 changes: 2 additions & 1 deletion testdata/cond-wf-004.1.cwl
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env cwl-runner
class: Workflow
cwlVersion: v1.2
inputs:
Expand Down Expand Up @@ -31,4 +32,4 @@ outputs:

requirements:
InlineJavascriptRequirement: {}
MultipleInputFeatureRequirement: {}
MultipleInputFeatureRequirement: {}
3 changes: 2 additions & 1 deletion testdata/cond-wf-005.1.cwl
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env cwl-runner
class: Workflow
cwlVersion: v1.2
inputs:
Expand Down Expand Up @@ -31,4 +32,4 @@ outputs:

requirements:
InlineJavascriptRequirement: {}
MultipleInputFeatureRequirement: {}
MultipleInputFeatureRequirement: {}
Empty file modified testdata/count-lines6-single-source-wf_v1_0.cwl
100644 → 100755
Empty file.
Empty file modified testdata/count-lines6-single-source-wf_v1_1.cwl
100644 → 100755
Empty file.
Empty file modified testdata/count-lines6-single-source-wf_v1_2.cwl
100644 → 100755
Empty file.
Empty file modified testdata/count-lines6-wf_v1_0.cwl
100644 → 100755
Empty file.
Empty file modified testdata/count-lines6-wf_v1_1.cwl
100644 → 100755
Empty file.
Empty file modified testdata/count-lines6-wf_v1_2.cwl
100644 → 100755
Empty file.
Empty file modified testdata/count-lines7-single-source-wf_v1_0.cwl
100644 → 100755
Empty file.
Empty file modified testdata/count-lines7-single-source-wf_v1_1.cwl
100644 → 100755
Empty file.
Empty file modified testdata/count-lines7-single-source-wf_v1_2.cwl
100644 → 100755
Empty file.
Empty file modified testdata/count-lines7-wf_v1_0.cwl
100644 → 100755
Empty file.
Empty file modified testdata/count-lines7-wf_v1_1.cwl
100644 → 100755
Empty file.
Empty file modified testdata/count-lines7-wf_v1_2.cwl
100644 → 100755
Empty file.
Empty file modified testdata/dockstore-tool-md5sum.cwl
100644 → 100755
Empty file.
Empty file modified testdata/dockstore-tool-md5sum_v11.cwl
100644 → 100755
Empty file.
Empty file modified testdata/dockstore-tool-md5sum_v12.cwl
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions testdata/echo-tool-packed.cwl
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env cwl-runner
cwlVersion: v1.2
$graph:
- class: CommandLineTool
Expand Down
1 change: 1 addition & 0 deletions testdata/foo-array.cwl
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env cwl-runner
class: CommandLineTool
cwlVersion: v1.2
inputs:
Expand Down
1 change: 1 addition & 0 deletions testdata/foo.cwl
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env cwl-runner
class: CommandLineTool
cwlVersion: v1.2
inputs:
Expand Down
1 change: 1 addition & 0 deletions testdata/formattest2.cwl
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env cwl-runner
$namespaces:
edam: http://edamontology.org/
$schemas:
Expand Down
1 change: 1 addition & 0 deletions testdata/formattest2_v1_0.cwl
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env cwl-runner
$namespaces:
edam: http://edamontology.org/
$schemas:
Expand Down
1 change: 1 addition & 0 deletions testdata/formattest2_v1_1.cwl
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env cwl-runner
$namespaces:
edam: http://edamontology.org/
$schemas:
Expand Down
3 changes: 2 additions & 1 deletion testdata/js-expr-req-wf.cwl
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env cwl-runner
cwlVersion: v1.2
$graph:
- id: tool
Expand Down Expand Up @@ -27,4 +28,4 @@ $graph:
tool:
run: "#tool"
in: {}
out: [out]
out: [out]
1 change: 1 addition & 0 deletions testdata/md5sum.cwl
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env cwl-runner
cwlVersion: v1.0
class: Workflow

Expand Down
1 change: 1 addition & 0 deletions testdata/md5sum_v11.cwl
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env cwl-runner
cwlVersion: v1.1
class: Workflow

Expand Down
1 change: 1 addition & 0 deletions testdata/md5sum_v12.cwl
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env cwl-runner
cwlVersion: v1.2
class: Workflow

Expand Down
Empty file modified testdata/record-output-wf_v1_0.cwl
100644 → 100755
Empty file.
Empty file modified testdata/record-output-wf_v1_1.cwl
100644 → 100755
Empty file.
Empty file modified testdata/record-output-wf_v1_2.cwl
100644 → 100755
Empty file.
3 changes: 2 additions & 1 deletion testdata/record-output_v1_0.cwl
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env cwl-runner
class: CommandLineTool
cwlVersion: v1.0
hints:
Expand Down Expand Up @@ -38,4 +39,4 @@ arguments:
- {valueFrom: "> foo", position: 3, shellQuote: false}
- {valueFrom: "&&", position: 4, shellQuote: false}
- {valueFrom: "cat", position: 5}
- {valueFrom: "> bar", position: 7, shellQuote: false}
- {valueFrom: "> bar", position: 7, shellQuote: false}
3 changes: 2 additions & 1 deletion testdata/record-output_v1_1.cwl
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env cwl-runner
class: CommandLineTool
cwlVersion: v1.1
requirements:
Expand Down Expand Up @@ -35,4 +36,4 @@ arguments:
- {valueFrom: "> foo", position: 3, shellQuote: false}
- {valueFrom: "&&", position: 4, shellQuote: false}
- {valueFrom: "cat", position: 5}
- {valueFrom: "> bar", position: 7, shellQuote: false}
- {valueFrom: "> bar", position: 7, shellQuote: false}
3 changes: 2 additions & 1 deletion testdata/record-output_v1_2.cwl
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env cwl-runner
class: CommandLineTool
cwlVersion: v1.2
requirements:
Expand Down Expand Up @@ -35,4 +36,4 @@ arguments:
- {valueFrom: "> foo", position: 3, shellQuote: false}
- {valueFrom: "&&", position: 4, shellQuote: false}
- {valueFrom: "cat", position: 5}
- {valueFrom: "> bar", position: 7, shellQuote: false}
- {valueFrom: "> bar", position: 7, shellQuote: false}
1 change: 1 addition & 0 deletions testdata/remote-cwl/tool1.cwl
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env cwl-runner
# We have this tool to test both local and remote packing

class: CommandLineTool
Expand Down
1 change: 1 addition & 0 deletions testdata/remote-cwl/tool2.cwl
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env cwl-runner
# We have this tool to test both local and remote packing

class: CommandLineTool
Expand Down
3 changes: 2 additions & 1 deletion testdata/remote-cwl/wf1.cwl
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env cwl-runner
class: Workflow
cwlVersion: v1.0
inputs:
Expand All @@ -24,4 +25,4 @@ outputs:
requirements:
SchemaDefRequirement:
types:
- $import: ../types/testtypes.yml
- $import: ../types/testtypes.yml
3 changes: 2 additions & 1 deletion testdata/revsort-run-1-packed.cwl
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env cwl-runner
{
"$graph": [
{
Expand Down Expand Up @@ -134,4 +135,4 @@
"file:///home/stain/src/cwltool/tests/wf/empty.ttl",
"file:///home/stain/src/cwltool/tests/wf/empty2.ttl"
]
}
}
Empty file modified testdata/scatter-wf1_v1_0.cwl
100644 → 100755
Empty file.
Empty file modified testdata/scatter-wf1_v1_1.cwl
100644 → 100755
Empty file.
Empty file modified testdata/scatter-wf1_v1_2.cwl
100644 → 100755
Empty file.
Empty file modified testdata/scatter-wf2_v1_0.cwl
100644 → 100755
Empty file.
Empty file modified testdata/scatter-wf2_v1_1.cwl
100644 → 100755
Empty file.
Empty file modified testdata/scatter-wf2_v1_2.cwl
100644 → 100755
Empty file.
Empty file modified testdata/scatter-wf3_v1_0.cwl
100644 → 100755
Empty file.
Empty file modified testdata/scatter-wf3_v1_1.cwl
100644 → 100755
Empty file.
Empty file modified testdata/scatter-wf3_v1_2.cwl
100644 → 100755
Empty file.
Empty file modified testdata/step-valuefrom2-wf_v1_0.cwl
100644 → 100755
Empty file.
Empty file modified testdata/step-valuefrom2-wf_v1_1.cwl
100644 → 100755
Empty file.
Empty file modified testdata/step-valuefrom2-wf_v1_2.cwl
100644 → 100755
Empty file.
Empty file modified testdata/step-valuefrom3-wf_v1_0.cwl
100644 → 100755
Empty file.
Empty file modified testdata/step-valuefrom3-wf_v1_1.cwl
100644 → 100755
Empty file.
Empty file modified testdata/step-valuefrom3-wf_v1_2.cwl
100644 → 100755
Empty file.
Empty file modified testdata/step_valuefrom5_wf_v1_0.cwl
100644 → 100755
Empty file.
Empty file modified testdata/step_valuefrom5_wf_v1_1.cwl
100644 → 100755
Empty file.
Empty file modified testdata/step_valuefrom5_wf_v1_2.cwl
100644 → 100755
Empty file.
Empty file modified testdata/step_valuefrom5_wf_with_id_v1_0.cwl
100644 → 100755
Empty file.
Empty file modified testdata/step_valuefrom5_wf_with_id_v1_1.cwl
100644 → 100755
Empty file.
Empty file modified testdata/step_valuefrom5_wf_with_id_v1_2.cwl
100644 → 100755
Empty file.
Empty file modified testdata/wc3-tool_v1_0.cwl
100644 → 100755
Empty file.
Empty file modified testdata/wc3-tool_v1_1.cwl
100644 → 100755
Empty file.
Empty file modified testdata/wc3-tool_v1_2.cwl
100644 → 100755
Empty file.
3 changes: 2 additions & 1 deletion testdata/wf2.cwl
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env cwl-runner
class: Workflow
cwlVersion: v1.0
inputs:
Expand Down Expand Up @@ -26,4 +27,4 @@ outputs:
requirements:
SchemaDefRequirement:
types:
- $import: types/testtypes.yml
- $import: types/testtypes.yml
Empty file modified testdata/workflow_input_format_expr.cwl
100644 → 100755
Empty file.
Empty file modified testdata/workflow_input_format_expr_v1_1.cwl
100644 → 100755
Empty file.
Empty file modified testdata/workflow_input_format_expr_v1_2.cwl
100644 → 100755
Empty file.
Empty file modified testdata/workflow_input_sf_expr.cwl
100644 → 100755
Empty file.
Empty file modified testdata/workflow_input_sf_expr_array.cwl
100644 → 100755
Empty file.
Empty file modified testdata/workflow_input_sf_expr_array_v1_1.cwl
100644 → 100755
Empty file.
Empty file modified testdata/workflow_input_sf_expr_array_v1_2.cwl
100644 → 100755
Empty file.
Empty file modified testdata/workflow_input_sf_expr_v1_1.cwl
100644 → 100755
Empty file.
Empty file modified testdata/workflow_input_sf_expr_v1_2.cwl
100644 → 100755
Empty file.
Empty file modified testdata/workflows/count-lines16-wf.cwl
100644 → 100755
Empty file.
Empty file modified testdata/workflows/import-in-type.cwl
100644 → 100755
Empty file.
Empty file modified testdata/workflows/scatter-wf4.cwl
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions testdata/workflows/wf5.cwl
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env cwl-runner
# Checks symbolic links on github

class: Workflow
Expand Down

0 comments on commit 086a4ab

Please sign in to comment.