https://github.com/common-workflow-lab/run-conformance-tests
Action for running CWL conformance tests
https://github.com/common-workflow-lab/run-conformance-tests
common-workflow-language commonwl cwl
Last synced: 4 months ago
JSON representation
Action for running CWL conformance tests
- Host: GitHub
- URL: https://github.com/common-workflow-lab/run-conformance-tests
- Owner: common-workflow-lab
- License: apache-2.0
- Created: 2022-02-01T04:39:42.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-06T06:51:50.000Z (about 2 years ago)
- Last Synced: 2024-04-06T07:33:21.521Z (about 2 years ago)
- Topics: common-workflow-language, commonwl, cwl
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# run-conformance-tests
It is a custom Github Action for running CWL conformance tests with a given CWL runner.
## Example
```yaml
jobs:
conformance:
runs-on: ubuntu-latest
steps:
# setup CWL runner
- uses: actions/checkout@v4
- name: Setup python for cwltool
uses: actions/setup-python@v5
with:
python-version: '3.12.x'
- name: Install cwltool
run: pip install cwltool
- uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Run conformance tests
id: run-conformance
uses: common-workflow-lab/run-conformance-tests@v1
with:
cwlVersion: v1.0
runner: cwltool
timeout: 30
skip-python-install: true
- name: Do something with badgedir
run: |
echo ${{ steps.run-conformance.outputs.badgedir }}
```
## Input parameters
| Parameters | Required | Default | Description |
|---|---|---|---|
| `cwlVersion` | true | - | target CWL version |
| `runner` | true | - | full path to CWL runner to be tested |
| `timeout` | false | 30 | timeout in seconds |
| `tags` | false | "" | tags to be tested (e.g., "docker,required") |
| `n` | false | "" | specify tests by their numbers (e.g., "1-5,10,13") |
| `s` | false | "" | specify tests by their names (e.g., "test_a,test_b") |
| `extra` | false | "" | extra arguments for the given CWL runner |
| `skip-python-install` | false | false | skip installing python interpreter |
The `skip-python-install` parameter is useful when CWL runner requires specific version of Python.
## Output parameters
| Parameters | Description |
|---|---|
| `badgedir` | directory name that stores conformance badges |
| `result` | file name that stores the result of conformance tests in JUnit XMl format |