1
- name : Continuous integration tests
1
+ name : CI Tests
2
2
3
3
on :
4
4
push :
@@ -11,16 +11,11 @@ concurrency:
11
11
group : build-${{ github.event.pull_request.number || github.ref }}
12
12
cancel-in-progress : true
13
13
14
- env :
15
- singularity_version : 3.8.3
16
-
17
14
jobs :
18
15
19
16
tox :
20
- name : CI tests via Tox
21
-
17
+ name : Tox
22
18
runs-on : ubuntu-20.04 # 22.04 doesn't support Python 3.6
23
-
24
19
strategy :
25
20
matrix :
26
21
py-ver-major : [3]
42
37
43
38
- name : Set up Singularity
44
39
if : ${{ matrix.step == 'unit' || matrix.step == 'mypy' }}
45
- uses : eWaterCycle/setup-singularity@v7
46
- with :
47
- singularity-version : ${{ env.singularity_version }}
40
+ run : |
41
+ wget --no-verbose https://github.com/sylabs/singularity/releases/download/v3.10.4/singularity-ce_3.10.4-focal_amd64.deb
42
+ sudo apt-get install -y ./singularity-ce_3.10.4-focal_amd64.deb
48
43
49
44
- name : Give the test runner user a name to make provenance happy.
50
45
if : ${{ matrix.step == 'unit' || matrix.step == 'mypy' }}
82
77
token : ${{ secrets.CODECOV_TOKEN }}
83
78
84
79
tox-style :
85
- name : CI linters via Tox
86
-
80
+ name : Linters
87
81
runs-on : ubuntu-20.04
88
82
89
83
strategy :
@@ -118,9 +112,8 @@ jobs:
118
112
run : tox
119
113
120
114
conformance_tests :
121
- name : CWL spec conformance tests
122
-
123
- runs-on : ubuntu-20.04
115
+ name : CWL conformance
116
+ runs-on : ubuntu-22.04
124
117
125
118
strategy :
126
119
matrix :
@@ -137,9 +130,16 @@ jobs:
137
130
138
131
- name : Set up Singularity
139
132
if : ${{ matrix.container == 'singularity' }}
140
- uses : eWaterCycle/setup-singularity@v7
133
+ run : |
134
+ wget --no-verbose https://github.com/sylabs/singularity/releases/download/v3.10.4/singularity-ce_3.10.4-jammy_amd64.deb
135
+ sudo apt-get install -y ./singularity-ce_3.10.4-jammy_amd64.deb
136
+
137
+ - name : Singularity cache
138
+ if : ${{ matrix.container == 'singularity' }}
139
+ uses : actions/cache@v3
141
140
with :
142
- singularity-version : ${{ env.singularity_version }}
141
+ path : sifcache
142
+ key : singularity
143
143
144
144
- name : Set up Podman
145
145
if : ${{ matrix.container == 'podman' }}
@@ -148,29 +148,32 @@ jobs:
148
148
- name : Set up Python
149
149
uses : actions/setup-python@v4
150
150
with :
151
- python-version : 3.9
151
+ python-version : 3.11
152
152
cache : pip
153
153
154
- - name : Run CWL conformance tests ${{ matrix.cwl- version }}
154
+ - name : " Test CWL ${{ matrix.version }} conformance "
155
155
env :
156
- version : ${{ matrix.cwl-version }}
157
- container : ${{ matrix.container }}
158
- spec_branch : main
156
+ VERSION : ${{ matrix.cwl-version }}
157
+ CONTAINER : ${{ matrix.container }}
158
+ GIT_TARGET : main
159
159
CWLTOOL_OPTIONS : ${{ matrix.extras }}
160
160
run : ./conformance-test.sh
161
-
161
+ - name : Upload coverage to Codecov
162
+ uses : codecov/codecov-action@v3
163
+ with :
164
+ fail_ci_if_error : true
165
+ token : ${{ secrets.CODECOV_TOKEN }}
162
166
release_test :
163
167
name : cwltool release test
164
-
165
168
runs-on : ubuntu-22.04
166
169
167
170
steps :
168
171
- uses : actions/checkout@v3
169
172
170
173
- name : Set up Singularity
171
- uses : eWaterCycle/setup-singularity@v7
172
- with :
173
- singularity-version : ${{ env.singularity_version }}
174
+ run : |
175
+ wget --no-verbose https://github.com/sylabs/singularity/releases/download/v3.10.4/singularity-ce_3.10.4-jammy_amd64.deb
176
+ sudo apt-get install -y ./singularity-ce_3.10.4-jammy_amd64.deb
174
177
175
178
- name : Set up Python
176
179
uses : actions/setup-python@v4
@@ -202,7 +205,7 @@ jobs:
202
205
run : ./build-cwltool-docker.sh
203
206
204
207
macos :
205
- name : CI test on macos-latest
208
+ name : Test on macos-latest
206
209
runs-on : macos-latest
207
210
env :
208
211
TOXENV : py310-unit
0 commit comments