-
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.
Replace API tests with workflow tests for various parameter replacement.
- Loading branch information
Showing
7 changed files
with
104 additions
and
48 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
12 changes: 12 additions & 0 deletions
12
lib/galaxy_test/workflow/replacement_parameters_legacy.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,12 @@ | ||
- doc: | | ||
Test to verify legacy behavior of implicit runtime parameters continues to function correctly. | ||
job: | ||
replacement_parameters: | ||
replaceme: moocow | ||
outputs: | ||
out1: | ||
metadata: | ||
name: 'moocow name' | ||
out2: | ||
metadata: | ||
name: 'moocow name 2' |
17 changes: 17 additions & 0 deletions
17
lib/galaxy_test/workflow/replacement_parameters_legacy.gxwf.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,17 @@ | ||
class: GalaxyWorkflow | ||
inputs: {} | ||
outputs: | ||
out1: | ||
outputSource: create_2/out_file1 | ||
out2: | ||
outputSource: create_2/out_file2 | ||
steps: | ||
create_2: | ||
tool_id: create_2 | ||
state: | ||
sleep_time: 0 | ||
outputs: | ||
out_file1: | ||
rename: "${replaceme} name" | ||
out_file2: | ||
rename: "${replaceme} name 2" |
13 changes: 13 additions & 0 deletions
13
lib/galaxy_test/workflow/replacement_parameters_nested.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,13 @@ | ||
- doc: | | ||
Test to verify text parameters can be implicitly used as replacement parameters in subworkflows if they are connected up. | ||
job: | ||
replacemeouter: | ||
value: moocow | ||
type: raw | ||
outputs: | ||
out1: | ||
metadata: | ||
name: 'moocow name' | ||
out2: | ||
metadata: | ||
name: 'moocow name 2' |
31 changes: 31 additions & 0 deletions
31
lib/galaxy_test/workflow/replacement_parameters_nested.gxwf.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,31 @@ | ||
class: GalaxyWorkflow | ||
inputs: | ||
replacemeouter: text | ||
outputs: | ||
out1: | ||
outputSource: nested_workflow/workflow_output_1 | ||
out2: | ||
outputSource: nested_workflow/workflow_output_2 | ||
steps: | ||
nested_workflow: | ||
run: | ||
class: GalaxyWorkflow | ||
inputs: | ||
replacemeinner: text | ||
outputs: | ||
workflow_output_1: | ||
outputSource: create_2/out_file1 | ||
workflow_output_2: | ||
outputSource: create_2/out_file2 | ||
steps: | ||
create_2: | ||
tool_id: create_2 | ||
state: | ||
sleep_time: 0 | ||
outputs: | ||
out_file1: | ||
rename: "${replacemeinner} name" | ||
out_file2: | ||
rename: "${replacemeinner} name 2" | ||
in: | ||
replacemeinner: replacemeouter |
13 changes: 13 additions & 0 deletions
13
lib/galaxy_test/workflow/replacement_parameters_text.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,13 @@ | ||
- doc: | | ||
Test to verify text parameters can be implicitly used as replacement parameters in workflow step PJAs. | ||
job: | ||
replaceme: | ||
value: moocow | ||
type: raw | ||
outputs: | ||
out1: | ||
metadata: | ||
name: 'moocow name' | ||
out2: | ||
metadata: | ||
name: 'moocow name 2' |
18 changes: 18 additions & 0 deletions
18
lib/galaxy_test/workflow/replacement_parameters_text.gxwf.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 @@ | ||
class: GalaxyWorkflow | ||
inputs: | ||
replaceme: text | ||
outputs: | ||
out1: | ||
outputSource: create_2/out_file1 | ||
out2: | ||
outputSource: create_2/out_file2 | ||
steps: | ||
create_2: | ||
tool_id: create_2 | ||
state: | ||
sleep_time: 0 | ||
outputs: | ||
out_file1: | ||
rename: "${replaceme} name" | ||
out_file2: | ||
rename: "${replaceme} name 2" |