Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
integration test and possible fix added
- Loading branch information
MiazinNikita
authored and
MiazinNikita
committed
Jul 8, 2019
1 parent
4f19570
commit f7fd7af
Showing
5 changed files
with
54 additions
and
1 deletion.
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
14 changes: 14 additions & 0 deletions
14
centaur/src/main/resources/standardTestCases/ad_hoc_file_test.aws.test
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,14 @@ | ||
name: ad_hoc_file_test.aws | ||
testFormat: workflowsuccess | ||
backends: [ AWSBATCH ] | ||
|
||
files { | ||
workflow: ad_hoc_file_test/workflow.cwl | ||
imports: [ | ||
ad_hoc_file_test/cwl-test.cwl | ||
] | ||
} | ||
|
||
metadata { | ||
status: Succeeded | ||
} |
21 changes: 21 additions & 0 deletions
21
centaur/src/main/resources/standardTestCases/ad_hoc_file_test/cwl-test.cwl
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,21 @@ | ||
class: CommandLineTool | ||
cwlVersion: v1.0 | ||
baseCommand: ["sh", "example.sh"] | ||
hints: | ||
DockerRequirement: | ||
dockerPull: ubuntu:latest | ||
inputs: [] | ||
|
||
requirements: | ||
InitialWorkDirRequirement: | ||
listing: | ||
- entryname: example.sh | ||
entry: |- | ||
PREFIX='Message is:' | ||
MSG="\${PREFIX} Hello world!" | ||
echo \${MSG} | ||
|
||
outputs: | ||
example_out: | ||
type: stdout | ||
stdout: output.txt |
10 changes: 10 additions & 0 deletions
10
centaur/src/main/resources/standardTestCases/ad_hoc_file_test/workflow.cwl
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,10 @@ | ||
cwlVersion: v1.0 | ||
class: Workflow | ||
inputs: [] | ||
outputs: [] | ||
|
||
steps: | ||
test: | ||
run: cwl-test.cwl | ||
in: [] | ||
out: [] |
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