Skip to content

Commit 42d1f01

Browse files
committed
Use CWLTOOL_OPTIONS, add comments
1 parent 46b175d commit 42d1f01

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/cwltool.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,12 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
docker:
20-
- "" # default, fails if we use docker
21-
- udocker
19+
# These are options to be set in CWLTOOL_OPTIONS. Note that for
20+
# the user-space Docker command, the default value is "docker",
21+
# but that will fail on most CI envs already running on Docker.
22+
options:
23+
- --debug --parallel --user-space-docker-cmd=
24+
- --debug --parallel --user-space-docker-cmd=udocker
2225

2326
runs-on: ubuntu-latest
2427

@@ -33,4 +36,6 @@ jobs:
3336
run: pip install cwltest cwltool udocker && udocker install
3437

3538
- name: Run tests against the reference runner
36-
run: cwltest --junit-verbose --verbose --tool cwltool --test=conformance_tests.yaml -j$(nproc) -- --parallel --user-space-docker-cmd=${{ matrix.docker }} --debug
39+
env:
40+
CWLTOOL_OPTIONS: ${{ matrix.options }}
41+
run: cwltest --junit-verbose --verbose --tool cwltool --test=conformance_tests.yaml -j$(nproc)

0 commit comments

Comments
 (0)