File tree Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,10 @@ jobs:
1616 strategy :
1717 fail-fast : false
1818 matrix :
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.
19+ # These are sets of options to be added via CWLTOOL_OPTIONS
2220 options :
23- - --debug --parallel --user-space-docker-cmd=
24- - --debug --parallel -- user-space-docker-cmd=udocker
21+ - " "
22+ - --user-space-docker-cmd=udocker
2523
2624 runs-on : ubuntu-latest
2725
@@ -31,11 +29,22 @@ jobs:
3129 - uses : actions/setup-python@v2
3230 with :
3331 python-version : ' 3.9.x'
34-
32+
33+ - name : hash the container names
34+ id : containers
35+ run : |
36+ echo "::set-output name=hash::$(git grep dockerPull -- tests | awk '{ print $NF}' | sort -u | md5sum | awk '{print $1}')"
37+ shell : bash
38+
39+ - uses : actions/cache@v3
40+ with :
41+ path : .udocker
42+ key : ${{ steps.containers.outputs.hash }}
43+
3544 - name : Setup prerequirements
3645 run : pip install cwltest cwltool udocker && udocker install
3746
3847 - name : Run tests against the reference runner
3948 env :
4049 CWLTOOL_OPTIONS : ${{ matrix.options }}
41- run : cwltest --junit-verbose --verbose --tool cwltool --test=conformance_tests.yaml -j$(nproc)
50+ run : cwltest --junit-verbose --verbose --tool cwltool --test=conformance_tests.yaml -j$(nproc) -- --debug --parallel --relax-path-checks
You can’t perform that action at this time.
0 commit comments