Skip to content

Commit 13ea3d1

Browse files
committed
Fewer containers (#129)
also run the tests against cwltool
1 parent 0eca666 commit 13ea3d1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+83
-54
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ name: CI
66
on:
77
# Triggers the workflow on push or pull request events but only for the main branch
88
push:
9-
branches: [ main ]
9+
branches: [ main, 1.2.1_proposed ]
1010
pull_request:
11-
branches: [ main ]
11+
branches: [ main, 1.2.1_proposed ]
1212

1313
# Allows you to run this workflow manually from the Actions tab
1414
workflow_dispatch:

.github/workflows/cwltool.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: test_with_cwltool
2+
3+
# Controls when the action will run.
4+
on:
5+
# Triggers the workflow on push or pull request events but only for the main branch
6+
push:
7+
branches: [ main, 1.2.1_proposed ]
8+
pull_request:
9+
branches: [ main, 1.2.1_proposed ]
10+
11+
# Allows you to run this workflow manually from the Actions tab
12+
workflow_dispatch:
13+
14+
jobs:
15+
test_with_cwltool:
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- uses: actions/checkout@v2
20+
21+
- uses: actions/setup-python@v2
22+
with:
23+
python-version: '3.9.x'
24+
25+
- name: Setup prerequirements
26+
run: pip install cwltest cwltool
27+
28+
- name: Run tests against the reference runner
29+
run: ./run_test.sh RUNNER=cwltool EXTRA=--parallel -j$(nproc)

tests/binding-test.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class: CommandLineTool
44
cwlVersion: v1.2
55
hints:
66
- class: DockerRequirement
7-
dockerPull: python:2-slim
7+
dockerPull: docker.io/python:3-slim
88
inputs:
99
- id: reference
1010
type: File

tests/bool-empty-inputbinding.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ class: CommandLineTool
33
cwlVersion: v1.2
44
hints:
55
- class: DockerRequirement
6-
dockerPull: python:2-slim
6+
dockerPull: docker.io/python:3-slim
77
inputs:
88
- id: flag
99
type: boolean

tests/bwa-mem-tool.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ hints:
88
- class: ResourceRequirement
99
coresMin: 2
1010
- class: DockerRequirement
11-
dockerPull: python:2-slim
11+
dockerPull: docker.io/python:3-slim
1212

1313
inputs:
1414
- id: reference

tests/cat-tool-shortcut.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ cwlVersion: v1.2
55

66
requirements:
77
- class: DockerRequirement
8-
dockerPull: debian:stretch-slim
8+
dockerPull: docker.io/debian:stable-slim
99

1010
inputs:
1111
file1: stdin

tests/cat3-tool-docker.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ cwlVersion: v1.2
44
doc: "Print the contents of a file to stdout using 'cat' running in a docker container."
55
requirements:
66
DockerRequirement:
7-
dockerPull: debian:stretch-slim
7+
dockerPull: docker.io/debian:stable-slim
88
inputs:
99
file1:
1010
type: File

tests/cat3-tool-mediumcut.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ cwlVersion: v1.2
44
doc: "Print the contents of a file to stdout using 'cat' running in a docker container."
55
requirements:
66
DockerRequirement:
7-
dockerPull: debian:stretch-slim
7+
dockerPull: docker.io/debian:stable-slim
88
inputs:
99
file1:
1010
type: File

tests/cat3-tool-shortcut.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ cwlVersion: v1.2
44
doc: "Print the contents of a file to stdout using 'cat' running in a docker container."
55
requirements:
66
DockerRequirement:
7-
dockerPull: debian:stretch-slim
7+
dockerPull: docker.io/debian:stable-slim
88
inputs:
99
file1:
1010
type: File

tests/cat3-tool.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ cwlVersion: v1.2
44
doc: "Print the contents of a file to stdout using 'cat' running in a docker container."
55
hints:
66
DockerRequirement:
7-
dockerPull: debian:stretch-slim
7+
dockerPull: docker.io/debian:stable-slim
88
inputs:
99
file1:
1010
type: File

0 commit comments

Comments
 (0)