Skip to content

update cwl testing #460

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/_includes/cwl/custom-types/custom-types.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ requirements:

hints:
DockerRequirement:
dockerPull: 'quay.io/biocontainers/biom-format:2.1.6--py27_0'
dockerPull: 'quay.io/biocontainers/biom-format:2.1.15'
SoftwareRequirement:
packages:
biom-format:
specs: [ "https://doi.org/10.1186/2047-217X-1-7" ]
version: [ "2.1.6" ]
version: [ "2.1.15" ]

inputs:
biom:
Expand Down
23 changes: 22 additions & 1 deletion src/_includes/cwl/cwl_tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Expressions
- doc: Test for Expressions section
id: expressions
job: expressions/empty.yml
tool: expressions/expression.cwl
output:
Expand All @@ -12,12 +13,14 @@

# Inputs
- doc: Test for Essential Inputs section
id: essential-inputs
job: inputs/inp-job.yml
tool: inputs/inp.cwl
should_fail: false
output: {}

- doc: Test for Array Inputs section
id: array-inputs
job: inputs/array-inputs-job.yml
tool: inputs/array-inputs.cwl
output:
Expand All @@ -29,11 +32,13 @@
size: 60

- doc: Test for Include and Exclusive Inputs section (1st example)
id: include-exclusive-inputs1
job: inputs/record-job1.yml
tool: inputs/record.cwl
should_fail: true

- doc: Test for Include and Exclusive Inputs section (2nd example)
id: include-exclusive-inputs2
job: inputs/record-job2.yml
tool: inputs/record.cwl
output:
Expand All @@ -45,6 +50,7 @@
size: 23

- doc: Test for Include and Exclusive Inputs section (3rd example)
id: include-exclusive-inputs3
job: inputs/record-job3.yml
tool: inputs/record.cwl
output:
Expand All @@ -57,6 +63,7 @@

# Additional Arguments and Parameters
- doc: Test for Additional Arguments and Parameters section
id: additional-arguments-and-parameters
job: additional-arguments-and-parameters/arguments-job.yml
tool: additional-arguments-and-parameters/arguments.cwl
output:
Expand All @@ -69,6 +76,7 @@

# Parameter References
- doc: Test for Parameter References section
id: parameter-references
job: parameter-references/tar-param-job.yml
tool: parameter-references/tar-param.cwl
output:
Expand All @@ -81,6 +89,7 @@

# Outputs
- doc: Test for Outputs section
id: outputs-section
job: outputs/tar-job.yml
tool: outputs/tar.cwl
output:
Expand All @@ -92,6 +101,7 @@
size: 0

- doc: Test for Outputs, Capturing Standard Output section
id: outputs-capturing-stdout
job: outputs/echo-job.yml
tool: outputs/stdout.cwl
output:
Expand All @@ -103,6 +113,7 @@
size: 13

- doc: Test for Outputs, Array Outputs section
id: outputs-array-outputs
job: outputs/array-outputs-job.yml
tool: outputs/array-outputs.cwl
output:
Expand All @@ -121,17 +132,19 @@
# Custom Types
# NOTE: The checksum is always changed for every execution
- doc: Test for Custom Types section
id: custom-types
job: custom-types/custom-types.yml
tool: custom-types/custom-types.cwl
output:
result:
class: File
basename: rich_sparse_otu_table.hdf5
location: Any
size: 46992
size: 46936

# Workflows
- doc: Test for Workflows section
id: workflows-1st-workflow
job: workflows/1st-workflow-job.yml
tool: workflows/1st-workflow.cwl
output:
Expand All @@ -144,6 +157,7 @@

- doc: Test for Workflows, Nested Workflows section
tool: workflows/nestedworkflows.cwl
id: workflows-nestedworkflows
output:
classout:
class: File
Expand All @@ -164,6 +178,7 @@

# Environment Variables
- doc: Test for Environment Variables section
id: environment-variables
job: environment-variables/echo-job.yml
tool: environment-variables/env.cwl
output:
Expand All @@ -174,6 +189,7 @@

# Using Containers
- doc: Test for Using Containers section
id: using-containers
job: using-containers/docker-job.yml
tool: using-containers/docker.cwl
output:
Expand All @@ -186,6 +202,7 @@

# Creating files at runtime
- doc: Test for Creating files at runtime section
id: creating-files-at-runtime
job: creating-files-at-runtime/echo-job.yml
tool: creating-files-at-runtime/createfile.cwl
output:
Expand All @@ -198,6 +215,7 @@

# Staging input files
- doc: Test for Staging input files section
id: staging-input-files
job: staging-input-files/arguments-job.yml
tool: staging-input-files/linkfile.cwl
output:
Expand All @@ -211,6 +229,7 @@
# File formats
# NOTE: The checksum and size is always changed for every execution
- doc: Test for File formats section
id: file-formats
job: file-formats/sample.yml
tool: file-formats/metadata_example.cwl
output:
Expand All @@ -222,6 +241,7 @@
# Metadata and authorship
# NOTE: The checksum and size is always changed for every executions
- doc: Test for Metadata and authorship section (1st example)
id: metadata-and-authorship
job: metadata-and-authorship/sample.yml
tool: metadata-and-authorship/metadata_example2.cwl
output:
Expand All @@ -231,6 +251,7 @@
location: Any

- doc: Test for Metadata and authorship section (extended example)
id: metadata-and-authorship-extended
job: metadata-and-authorship/sample.yml
tool: metadata-and-authorship/metadata_example3.cwl
output:
Expand Down