[ARVADOS] updated: 962146ad2bfedd94afd2a88329e57f0aaff08e0f
Git user
git at public.curoverse.com
Tue Aug 23 19:33:00 EDT 2016
Summary of changes:
.../test/integration/application_layout_test.rb | 2 +-
services/api/test/fixtures/workflows.yml | 28 +++++++++++++++++++++-
2 files changed, 28 insertions(+), 2 deletions(-)
via 962146ad2bfedd94afd2a88329e57f0aaff08e0f (commit)
from fdff51b258287eddf88e00e36e7535353e469e75 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 962146ad2bfedd94afd2a88329e57f0aaff08e0f
Author: radhika <radhika at curoverse.com>
Date: Tue Aug 23 19:18:01 2016 -0400
9767: use a workflow with inputs in test
diff --git a/apps/workbench/test/integration/application_layout_test.rb b/apps/workbench/test/integration/application_layout_test.rb
index d1d2494..c6bc65b 100644
--- a/apps/workbench/test/integration/application_layout_test.rb
+++ b/apps/workbench/test/integration/application_layout_test.rb
@@ -338,7 +338,7 @@ class ApplicationLayoutTest < ActionDispatch::IntegrationTest
[
['Two Part Pipeline Template', 'part-one', 'Provide a value for the following'],
- ['Valid workflow with name and desc', 'name: foo', 'This container is uncommitted'],
+ ['Workflow with input specifications', 'class: CommandLineTool', 'This container is uncommitted'],
].each do |template_name, preview_txt, process_txt|
test "run a process using template #{template_name} from dashboard" do
visit page_with_token('admin')
diff --git a/services/api/test/fixtures/workflows.yml b/services/api/test/fixtures/workflows.yml
index 2fba560..8e32409 100644
--- a/services/api/test/fixtures/workflows.yml
+++ b/services/api/test/fixtures/workflows.yml
@@ -4,7 +4,7 @@ workflow_with_workflow_yml:
name: Valid workflow with name and desc
description: this work has a valid workflow yaml
workflow: "name: foo\ndesc: bar"
- created_at: <%= 1.minute.ago.to_s(:db) %>
+ created_at: 2016-08-15 12:00:00
workflow_with_no_workflow_yml:
uuid: zzzzz-7fd4e-validbutnoyml00
@@ -18,3 +18,29 @@ workflow_with_no_name_and_desc:
owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
workflow: this is valid yaml
created_at: 2016-08-15 12:00:01
+
+workflow_with_input_specifications:
+ uuid: zzzzz-7fd4e-validwithinputs
+ owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
+ name: Workflow with input specifications
+ description: this work has inputs specified
+ created_at: <%= 1.minute.ago.to_s(:db) %>
+ workflow:
+ cwlVersion: v1.0
+ class: CommandLineTool
+ baseCommand:
+ - echo
+ inputs:
+ - doc: a longer documentation string for this parameter (optional)
+ type: boolean
+ id: ex_boolean
+ label: a short label for this parameter (optional)
+ inputBinding:
+ position: 1
+ - type:
+ - 'null'
+ - boolean
+ id: ex_boolean_opt
+ inputBinding:
+ position: 1
+ outputs: []
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list