about summary refs log tree commit diff
path: root/e2e-tests
diff options
context:
space:
mode:
Diffstat (limited to 'e2e-tests')
-rw-r--r--e2e-tests/jobs/int-for-float-input.yaml1
-rw-r--r--e2e-tests/tests.yaml9
-rw-r--r--e2e-tests/tools/int-for-float-input.scm3
3 files changed, 13 insertions, 0 deletions
diff --git a/e2e-tests/jobs/int-for-float-input.yaml b/e2e-tests/jobs/int-for-float-input.yaml
new file mode 100644
index 0000000..32a3dc4
--- /dev/null
+++ b/e2e-tests/jobs/int-for-float-input.yaml
@@ -0,0 +1 @@
+message: 1
diff --git a/e2e-tests/tests.yaml b/e2e-tests/tests.yaml
index b7ab40c..e04d4dd 100644
--- a/e2e-tests/tests.yaml
+++ b/e2e-tests/tests.yaml
@@ -214,3 +214,12 @@
       class: File
       size: 13
       checksum: sha1$47a013e660d408619d894b20806b1d5086aab03b
+- id: int-for-float-input
+  doc: int supplied for float input must be coerced into a float
+  tool: tools/int-for-float-input.cwl
+  job: jobs/int-for-float-input.yaml
+  output:
+    output_message:
+      class: File
+      size: 2
+      checksum: sha1$e5fa44f2b31c1fb553b6021e7360d07d5d91ff5e
diff --git a/e2e-tests/tools/int-for-float-input.scm b/e2e-tests/tools/int-for-float-input.scm
new file mode 100644
index 0000000..18b2f1f
--- /dev/null
+++ b/e2e-tests/tools/int-for-float-input.scm
@@ -0,0 +1,3 @@
+(command #:inputs (message #:type float)
+         #:run "echo" message
+         #:outputs (output_message #:type stdout))