16470: Fixes deprecation warning.
[arvados.git] / sdk / cwl / tests / wf / runin-reqs-wf3.cwl
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: Apache-2.0
4
5 class: Workflow
6 cwlVersion: v1.0
7 $namespaces:
8   arv: "http://arvados.org/cwl#"
9 inputs:
10   count:
11     type: int[]
12     default: [1, 2, 3, 4]
13   script:
14     type: File
15     default:
16       class: File
17       location: check_mem.py
18 outputs:
19   out: []
20 requirements:
21   SubworkflowFeatureRequirement: {}
22   ScatterFeatureRequirement: {}
23   InlineJavascriptRequirement: {}
24   StepInputExpressionRequirement: {}
25 steps:
26   substep:
27     in:
28       count: count
29       script: script
30     out: []
31     hints:
32       - class: arv:RunInSingleContainer
33       - class: arv:APIRequirement
34     scatter: count
35     run:
36       class: Workflow
37       id: mysub
38       inputs:
39         count: int
40         script: File
41       outputs: []
42       steps:
43         sleep1:
44           in:
45             count: count
46             script: script
47           out: []
48           run:
49             class: CommandLineTool
50             id: subtool
51             hints:
52               - class: ResourceRequirement
53                 ramMin: $(96+inputs.count*32)
54             inputs:
55               count:
56                 type: int
57               script: File
58             outputs: []
59             arguments: [python, $(inputs.script), $(96+inputs.count * 32)]