You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cwltool/schemas/v1.1.0-dev1/README.md
+52Lines changed: 52 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,8 @@
1
1
# Common Workflow Language Specifications, v1.1.0-dev1
2
2
3
+
<!-- remove this before v1.1 is final! -->
4
+
WARNING, this is a draft and in progress! Development of CWL v1.1 is coordinated at https://github.com/common-workflow-language/common-workflow-language/milestone/6
5
+
3
6
The CWL specifications are divided up into several documents.
4
7
5
8
The [User Guide](http://www.commonwl.org/user_guide/) provides a gentle
@@ -17,3 +20,52 @@ The
17
20
[Semantic Annotations for Linked Avro Data (SALAD) Specification](SchemaSalad.html)
18
21
specifies the preprocessing steps that must be applied when loading CWL
19
22
documents and the schema language used to write the above specifications.
23
+
24
+
Also available are inheritance graphs (as SVG images) for the [Schema Salad object model](salad.svg) and the [CWL object model](cwl.svg).
25
+
26
+
# Running the CWL conformance tests
27
+
28
+
1. Install a CWL runner of your choice. The reference runner can be installed as
29
+
the default runner by doing:
30
+
```
31
+
pip install cwlref-runner
32
+
```
33
+
34
+
2. Install the CWL test parser:
35
+
36
+
```
37
+
pip install cwltest
38
+
```
39
+
You may need to activate a virtualenv first, or do a local install by adding `--user` after `install` above.
40
+
41
+
3. From within a copy of [this repository](https://github.com/common-workflow-language/cwl-v1.1) (e.g. cwl-v1.1) execute the main test script
42
+
```
43
+
./run_test.sh
44
+
```
45
+
46
+
If the CWL runner isn't installed as `cwl-runner` then you can specify the name:
47
+
48
+
```
49
+
./run_test.sh RUNNER=cwltool
50
+
```
51
+
52
+
You can also specify additional options that are specific for the particular CWL runner you are using.
53
+
For example, with CWL reference runner you can turn on parallel execution mode:
54
+
55
+
```
56
+
./run_test.sh RUNNER=cwltool EXTRA=--parallel
57
+
```
58
+
59
+
This can be combined with launching more than one CWL conformance test at once with `-j`:
60
+
61
+
```
62
+
./run_test.sh -j4 RUNNER=cwltool EXTRA=--parallel
63
+
```
64
+
65
+
66
+
For details of options you can pass to the test script, do:
0 commit comments