@@ -186,6 +186,11 @@ jobs:
186
186
steps :
187
187
- attach_workspace :
188
188
at : /tmp
189
+ - checkout :
190
+ path : /tmp/src/niworkflows
191
+ - run :
192
+ name : Get codecov
193
+ command : python -m pip install codecov
189
194
- restore_cache :
190
195
keys :
191
196
- build-v1-{{ .Branch }}-{{ epoch }}
@@ -199,18 +204,6 @@ jobs:
199
204
-v /tmp/docker:/var/lib/registry registry:2
200
205
docker pull localhost:5000/niworkflows
201
206
docker tag localhost:5000/niworkflows niworkflows:latest
202
-
203
- - checkout :
204
- path : /tmp/src/niworkflows
205
- - run :
206
- name : Set PR number
207
- command : |
208
- echo 'export CIRCLE_PR_NUMBER="${CIRCLE_PR_NUMBER:-${CIRCLE_PULL_REQUEST##*/}}"' >> $BASH_ENV
209
- source $BASH_ENV
210
- echo $CIRCLE_PR_NUMBER
211
- - run :
212
- name : Get codecov
213
- command : python -m pip install codecov
214
207
- run :
215
208
name : Run unit tests
216
209
no_output_timeout : 2h
@@ -231,8 +224,8 @@ jobs:
231
224
- run :
232
225
name : Submit unit test coverage
233
226
command : |
234
- python -m codecov --file summaries/unittests.xml \
235
- --root /tmp/src/niworkflows \
227
+ cd /tmp/src/niworkflows
228
+ python -m codecov --file /tmp/tests/summaries/unittests.xml \
236
229
--flags unittests -e CIRCLE_JOB
237
230
238
231
- run :
@@ -251,7 +244,8 @@ jobs:
251
244
- run :
252
245
name : Submit reportlet test coverage
253
246
command : |
254
- python -m codecov --file summaries/reportlets.xml --root /tmp/src/niworkflows \
247
+ cd /tmp/src/niworkflows
248
+ python -m codecov --file /tmp/tests/summaries/reportlets.xml \
255
249
--flags reportlettests -e CIRCLE_JOB
256
250
257
251
- run :
0 commit comments