Skip to content

Commit 1612321

Browse files
fmigneaultmr-c
authored andcommitted
add CWL JSON schema + 'json_schema_invalid' tag (closes #253) + validation tests (2 failed related to #251)
1 parent dc098f0 commit 1612321

File tree

7 files changed

+2431
-5
lines changed

7 files changed

+2431
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,8 @@ jobs:
3535

3636
- name: Validate CWL documents
3737
run: ./run_test.sh --self
38+
39+
- name: Validate JSON schema document
40+
run: |
41+
pip install -r ./requirements-jsonschema-test.txt
42+
pytest tests/json_schema

conformance_tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2633,7 +2633,7 @@
26332633
tool: tests/timelimit2.cwl
26342634
id: timelimit_invalid
26352635
doc: Test invalid time limit value
2636-
tags: [ command_line_tool, timelimit ]
2636+
tags: [ command_line_tool, timelimit, json_schema_invalid ]
26372637

26382638
- job: tests/empty.json
26392639
output: {}
@@ -3472,4 +3472,4 @@
34723472
basename: file.txt
34733473
size: 14
34743474
checksum: sha1$0074b1841ab5103cc0442f739d9fb41a33b602ee
3475-
tags: [ step_input, workflow ]
3475+
tags: [ step_input, workflow ]

0 commit comments

Comments
 (0)