-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate workflow flatten test to workflow test framework.
- Loading branch information
Showing
3 changed files
with
35 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
lib/galaxy_test/workflow/flatten_collection.gxwf-tests.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
- doc: | | ||
Test to verify collection flatten collection operation in the context of a workflow. | ||
job: {} | ||
outputs: | ||
out: | ||
elements: | ||
'oe1-ie1': | ||
asserts: | ||
- that: has_text | ||
text: "A" | ||
'oe1-ie2': | ||
asserts: | ||
- that: has_text | ||
text: "B" | ||
'oe2-ie1': | ||
asserts: | ||
- that: has_text | ||
text: "C" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
class: GalaxyWorkflow | ||
inputs: {} | ||
outputs: | ||
out: | ||
outputSource: flatten/output | ||
steps: | ||
nested: | ||
tool_id: collection_creates_dynamic_nested | ||
state: | ||
sleep_time: 0 | ||
foo: 'dummy' | ||
flatten: | ||
tool_id: '__FLATTEN__' | ||
state: | ||
join_identifier: '-' | ||
in: | ||
input: nested/list_output |