File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
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+ | `s` | false | "" | specify tests by their names (e.g., "test_a,test_b") |
4647| `extra` | false | "" | extra arguments for the given CWL runner |
4748| `skip-python-install` | false | false | skip installing python interpreter |
4849
Original file line number Diff line number Diff line change @@ -27,6 +27,9 @@ inputs:
2727 n :
2828 description : ' specify tests by their numbers (e.g., "1-5,10,13")'
2929 required : false
30+ s :
31+ description : ' specify tests by their names (e.g., "test_a,test_b")'
32+ required : false
3033 extra :
3134 description : ' extra arguments for the given CWL runner'
3235 required : false
@@ -90,11 +93,15 @@ runs:
9093 nopt="-n=${{ inputs.n }}"
9194 fi
9295
96+ if [ -n "${{ inputs.s }}" ]; then
97+ sopt="-s=${{ inputs.s }}"
98+ fi
99+
93100 if [ -n "${{ inputs.extra }}" ]; then
94101 extraopt="EXTRA=${{ inputs.extra }}"
95102 fi
96103
97- ./run_test.sh RUNNER=${{inputs.runner}} --badgedir=$basedir/badges --junit-xml=$basedir/junit.xml --timeout=${{inputs.timeout}} $tagopt $nopt "$extraopt" || true
104+ ./run_test.sh RUNNER=${{inputs.runner}} --badgedir=$basedir/badges --junit-xml=$basedir/junit.xml --timeout=${{inputs.timeout}} $tagopt $nopt $sopt "$extraopt" || true
98105 echo "badgedir=$GITHUB_WORKSPACE/cwl-run-conformance-${{ inputs.cwlVersion }}/badges" >> $GITHUB_OUTPUT
99106 echo "result=$GITHUB_WORKSPACE/cwl-run-conformance-${{ inputs.cwlVersion }}/junit.xml" >> $GITHUB_OUTPUT
100107 env :
You can’t perform that action at this time.
0 commit comments