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 4343| `timeout` | false | 30 | timeout in seconds |
4444| `tags` | false | "" | tags to be tested (e.g., "docker,required") |
4545| `n` | false | "" | specify tests by their numbers (e.g., "1-5,10,13") |
46+ | `extra` | false | "" | extra arguments for the given CWL runner |
4647| `skip-python-install` | false | false | skip installing python interpreter |
4748
4849The `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:
2727 n :
2828 description : ' specify tests by their numbers (e.g., "1-5,10,13")'
2929 required : false
30- # TODO: EXTRA, -j
30+ extra :
31+ description : ' extra arguments for the given CWL runner'
32+ required : false
33+ # TODO: -j
3134outputs :
3235 badgedir :
3336 description : ' The directory name that stores conformance badges'
8790 nopt="-n=${{ inputs.n }}"
8891 fi
8992
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
9198 echo "::set-output name=badgedir::$GITHUB_WORKSPACE/cwl-run-conformance-${{ inputs.cwlVersion }}/badges"
9299 echo "::set-output name=result::$GITHUB_WORKSPACE/cwl-run-conformance-${{ inputs.cwlVersion }}/junit.xml"
93100 env :
You can’t perform that action at this time.
0 commit comments