X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/48a362bb93d1e53e879a563da85aecd070987f30..e2267bd99209651c61425f335230e515421b2ef4:/sdk/cwl/tests/wf/runin-reqs-wf3.cwl diff --git a/sdk/cwl/tests/wf/runin-reqs-wf3.cwl b/sdk/cwl/tests/wf/runin-reqs-wf3.cwl index 352a919b37..c13b7a0bc6 100644 --- a/sdk/cwl/tests/wf/runin-reqs-wf3.cwl +++ b/sdk/cwl/tests/wf/runin-reqs-wf3.cwl @@ -7,9 +7,14 @@ cwlVersion: v1.0 $namespaces: arv: "http://arvados.org/cwl#" inputs: - sleeptime: + count: type: int[] default: [1, 2, 3, 4] + script: + type: File + default: + class: File + location: check_mem.py outputs: out: [] requirements: @@ -20,31 +25,35 @@ requirements: steps: substep: in: - sleeptime: sleeptime + count: count + script: script out: [] hints: - class: arv:RunInSingleContainer - scatter: sleeptime + - class: arv:APIRequirement + scatter: count run: class: Workflow id: mysub inputs: - sleeptime: int + count: int + script: File outputs: [] steps: sleep1: in: - sleeptime: sleeptime + count: count + script: script out: [] run: class: CommandLineTool id: subtool hints: - class: ResourceRequirement - ramMin: $(inputs.sleeptime*4) + ramMin: $(96+inputs.count*32) inputs: - sleeptime: + count: type: int - inputBinding: {position: 1} + script: File outputs: [] - baseCommand: sleep + arguments: [python, $(inputs.script), $(96+inputs.count * 32)]