Skip to content

Commit 2625c13

Browse files
committed
adding conformance test: Testing warning instead of error when default path is not present
1 parent 52d9fcb commit 2625c13

File tree

6 files changed

+37
-0
lines changed

6 files changed

+37
-0
lines changed

v1.0/conformance_test_v1.0.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -981,3 +981,9 @@
981981
size: 15
982982
tool: v1.0/imported-hint.cwl
983983
doc: Test hints with $import
984+
985+
- output: {}
986+
job: v1.0/default_path_job.yml
987+
tool: v1.0/default_path.cwl
988+
doc: Test warning instead of error when default path is not found
989+

v1.0/v1.0/default_path.cwl

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
cwlVersion: v1.0
2+
class: CommandLineTool
3+
inputs:
4+
- id: "file1"
5+
type: File
6+
default:
7+
class: File
8+
path: default.txt
9+
outputs: []
10+
arguments: [cat,$(inputs.file1.path)]

v1.0/v1.0/default_path_job.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
file1:
2+
class: File
3+
path: hello.txt

v1.1.0-dev1/conformance_test_v1.1.0-dev1.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -992,3 +992,8 @@
992992
size: 15
993993
tool: v1.1.0-dev1/imported-hint.cwl
994994
doc: Test hints with $import
995+
996+
- output: {}
997+
job: v1.0/default_path_job.yml
998+
tool: v1.0/default_path.cwl
999+
doc: Test warning instead of error when default path is not found
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
cwlVersion: v1.0
2+
class: CommandLineTool
3+
inputs:
4+
- id: "file1"
5+
type: File
6+
default:
7+
class: File
8+
path: default.txt
9+
outputs: []
10+
arguments: [cat,$(inputs.file1.path)]
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
file1:
2+
class: File
3+
path: hello.txt

0 commit comments

Comments
 (0)