File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 41
41
| ` cwlVersion` | true | - | target CWL version |
42
42
| `runner` | true | - | full path to CWL runner to be tested |
43
43
| `timeout` | false | 30 | timeout in seconds |
44
+ | `tags` | false | "" | tags to be tested (e.g., "docker,required") |
44
45
| `skip-python-install` | false | false | skip installing python interpreter |
45
46
46
47
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 @@ -21,7 +21,10 @@ inputs:
21
21
description : ' skip installing python interpreter'
22
22
required : false
23
23
default : false
24
- # TODO: EXTRA, -n, -j, --tags
24
+ tags :
25
+ description : ' tags to be tested (e.g., "docker,required")'
26
+ required : false
27
+ # TODO: EXTRA, -n, -j
25
28
outputs :
26
29
badgedir :
27
30
description : ' The directory name that stores conformance badges'
72
75
else
73
76
basedir=.
74
77
fi
75
- ./run_test.sh RUNNER=${{inputs.runner}} --badgedir=$basedir/badges --junit-xml=$basedir/junit.xml --timeout=${{inputs.timeout}} || true
78
+
79
+ if [ -n "${{ inputs.tags }}" ]; then
80
+ tagopt="--tags=${{ inputs.tags }}"
81
+ fi
82
+
83
+ ./run_test.sh RUNNER=${{inputs.runner}} --badgedir=$basedir/badges --junit-xml=$basedir/junit.xml --timeout=${{inputs.timeout}} $tagopt || true
76
84
echo "::set-output name=badgedir::$GITHUB_WORKSPACE/cwl-run-conformance-${{ inputs.cwlVersion }}/badges"
77
85
echo "::set-output name=result::$GITHUB_WORKSPACE/cwl-run-conformance-${{ inputs.cwlVersion }}/junit.xml"
78
86
env :
You can’t perform that action at this time.
0 commit comments