Skip to content

Commit 4de5e29

Browse files
Add related cwltool PR to CI
1 parent 257a5f2 commit 4de5e29

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.github/workflows/cwltool.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121

2222
- uses: actions/setup-python@v6
2323
with:
24-
python-version: '3.9.x'
24+
python-version: '3.10.x'
2525

2626
- name: Setup prerequirements
27-
run: pip install "cwltest>=2.3" pytest-xdist "cwltool>=3.1.20240909164951"
27+
run: pip install "cwltest>=2.3" pytest-xdist git+https://github.com/common-workflow-language/cwltool.git@refs/pull/2177/head
2828

2929
- name: Copy in cwltool-specific configuration for the cwltest pytest plugin
3030
run: cp "$(python -c 'from cwltool.tests.util import get_data; print(get_data("tests/cwl-conformance/cwltool-conftest.py"))')" conftest.py

CommandLineTool.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ $graph:
5151
5252
## Changelog for v1.3.0-dev1
5353
54+
* If an output name is present in the "cwl.output.json" file, but has
55+
not been declared in the `outputs` section, it must be ignored and
56+
not propagated to the next steps. Previous versions of CWL exhibited
57+
undefined behaviour for this occurrence.
58+
5459
See also the [CWL Workflow Description, v1.3.0-dev1 changelog](Workflow.html#Changelog).
5560
For other changes since CWL v1.0, see the
5661
[CWL Command Line Tool Description, v1.1 changelog](https://www.commonwl.org/v1.1/CommandLineTool.html#Changelog)

invocation.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,10 @@ The exit code of the process is available to expressions in
159159
If the output directory contains a file named "cwl.output.json", that
160160
file must be loaded and used as the output object. In this case, the
161161
output object should still be type-checked against the `outputs`
162-
section, but `outputBinding` is ignored.
162+
section, but `outputBinding` is ignored. If an output name is present
163+
in the "cwl.output.json" file, but has not been declared in the
164+
`outputs` section, it must be ignored and not propagated to the next
165+
steps.
163166

164167
For Files and Directories, if the value of `path` is a relative path
165168
pattern (does not begin with a slash '/') then it is resolved relative

0 commit comments

Comments
 (0)