Merge branch '8784-dir-listings'
[arvados.git] / sdk / cwl / tests / wf / inputs_test.cwl
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: Apache-2.0
4
5 # Test case for arvados-cwl-runner. Used to test propagation of
6 # various input types as script_parameters in pipeline templates.
7
8 class: Workflow
9 cwlVersion: v1.0
10 inputs:
11   - id: "#fileInput"
12     type: File
13     label: It's a file; we expect to find some characters in it.
14     doc: |
15       If there were anything further to say, it would be said here,
16       or here.
17   - id: "#boolInput"
18     type: boolean
19     label: True or false?
20   - id: "#floatInput"
21     type: float
22     label: Floats like a duck
23     default: 0.1
24   - id: "#optionalFloatInput"
25     type: ["null", float]
26 outputs: []
27 steps:
28   - id: step1
29     in:
30       - { id: x, source: "#fileInput" }
31     out: []
32     run: ../tool/submit_tool.cwl