Skip to content

Commit

Permalink
add CWL JSON schema + 'json_schema_invalid' tag (closes common-workfl…
Browse files Browse the repository at this point in the history
…ow-language#253) + validation tests (2 failed related to common-workflow-language#251)
  • Loading branch information
fmigneault committed Jun 13, 2023
1 parent e310fcf commit 5c1400a
Show file tree
Hide file tree
Showing 7 changed files with 2,402 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,8 @@ jobs:

- name: Validate CWL documents
run: ./run_test.sh --self

- name: Validate JSON schema document
run: |
pip install -r ./requirements-test.txt
pytest tests/json-schema
6 changes: 3 additions & 3 deletions conformance_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
should_fail: true
id: expression_any_nodefaultany
doc: Test Any without defaults cannot be unspecified.
tags: [ inline_javascript, expression_tool ]
tags: [ inline_javascript, expression_tool ]

- job: tests/null-expression1-job.json
tool: tests/null-expression2-tool.cwl
Expand Down Expand Up @@ -2633,7 +2633,7 @@
tool: tests/timelimit2.cwl
id: timelimit_invalid
doc: Test invalid time limit value
tags: [ command_line_tool, timelimit ]
tags: [ command_line_tool, timelimit, json_schema_invalid ]

- job: tests/empty.json
output: {}
Expand Down Expand Up @@ -3472,4 +3472,4 @@
basename: file.txt
size: 14
checksum: sha1$0074b1841ab5103cc0442f739d9fb41a33b602ee
tags: [ step_input, workflow ]
tags: [ step_input, workflow ]
Loading

0 comments on commit 5c1400a

Please sign in to comment.