File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 43
43
| `timeout` | false | 30 | timeout in seconds |
44
44
| `tags` | false | "" | tags to be tested (e.g., "docker,required") |
45
45
| `n` | false | "" | specify tests by their numbers (e.g., "1-5,10,13") |
46
+ | `extra` | false | "" | extra arguments for the given CWL runner |
46
47
| `skip-python-install` | false | false | skip installing python interpreter |
47
48
48
49
The `skip-python-install` parameter is useful when CWL runner requires specific version of Python.
Original file line number Diff line number Diff line change @@ -27,7 +27,10 @@ inputs:
27
27
n :
28
28
description : ' specify tests by their numbers (e.g., "1-5,10,13")'
29
29
required : false
30
- # TODO: EXTRA, -j
30
+ extra :
31
+ description : ' extra arguments for the given CWL runner'
32
+ required : false
33
+ # TODO: -j
31
34
outputs :
32
35
badgedir :
33
36
description : ' The directory name that stores conformance badges'
87
90
nopt="-n=${{ inputs.n }}"
88
91
fi
89
92
90
- ./run_test.sh RUNNER=${{inputs.runner}} --badgedir=$basedir/badges --junit-xml=$basedir/junit.xml --timeout=${{inputs.timeout}} $tagopt $nopt || true
93
+ if [ -n "${{ inputs.extra }}" ]; then
94
+ extraopt="EXTRA=${{ inputs.extra }}"
95
+ fi
96
+
97
+ ./run_test.sh RUNNER=${{inputs.runner}} --badgedir=$basedir/badges --junit-xml=$basedir/junit.xml --timeout=${{inputs.timeout}} $tagopt $nopt $extraopt || true
91
98
echo "::set-output name=badgedir::$GITHUB_WORKSPACE/cwl-run-conformance-${{ inputs.cwlVersion }}/badges"
92
99
echo "::set-output name=result::$GITHUB_WORKSPACE/cwl-run-conformance-${{ inputs.cwlVersion }}/junit.xml"
93
100
env :
You can’t perform that action at this time.
0 commit comments