Skip to content

Commit 610e571

Browse files
committed
CI: Use runtimes to regroup tests
Runtimes aggregated from https://circleci.com/workflow-run/721d8f15-dac6-4b7d-87c9-7dbeb1709f1a Two workflows require pre-run of other workflows.
1 parent b9050d3 commit 610e571

File tree

1 file changed

+12
-257
lines changed

1 file changed

+12
-257
lines changed

.circleci/config.yml

Lines changed: 12 additions & 257 deletions
Original file line numberDiff line numberDiff line change
@@ -160,53 +160,7 @@ jobs:
160160
- store_artifacts:
161161
path: /home/circleci/work/tests
162162

163-
test_py2_fmri_spm_nested_multiproc_l2:
164-
machine:
165-
# Ubuntu 14.04 with Docker 17.10.0-ce
166-
image: circleci/classic:201710-02
167-
working_directory: /home/circleci/nipype
168-
steps:
169-
- attach_workspace:
170-
at: /tmp
171-
- run:
172-
name: Load saved Docker images.
173-
no_output_timeout: 60m
174-
command: |
175-
docker load < /tmp/docker/nipype-base-latest-py36-py27.tar.gz
176-
- checkout:
177-
path: /home/circleci/nipype
178-
- run:
179-
name: Get codecov
180-
command: |
181-
pip install --no-cache-dir codecov
182-
- run:
183-
name: Download test data
184-
no_output_timeout: 20m
185-
working_directory: /home/circleci/examples
186-
environment:
187-
OSF_NIPYPE_URL: "https://files.osf.io/v1/resources/nefdp/providers/osfstorage"
188-
command: |
189-
export DATA_NIPYPE_TUTORIAL_URL="${OSF_NIPYPE_URL}/57f4739cb83f6901ed94bf21"
190-
curl -sSL --retry 5 --connect-timeout 15 "$DATA_NIPYPE_TUTORIAL_URL" | tar xj
191-
192-
export DATA_NIPYPE_FSL_COURSE="${OSF_NIPYPE_URL}/57f472cf9ad5a101f977ecfe"
193-
curl -sSL --retry 5 --connect-timeout 15 "$DATA_NIPYPE_FSL_COURSE" | tar xz
194-
195-
export DATA_NIPYPE_FSL_FEEDS="${OSF_NIPYPE_URL}/57f473066c613b01f113e7af"
196-
curl -sSL --retry 5 --connect-timeout 15 "$DATA_NIPYPE_FSL_FEEDS" | tar xz
197-
- run:
198-
name: Run tests
199-
no_output_timeout: 2h
200-
environment:
201-
WORKDIR: /home/circleci/work
202-
command: |
203-
mkdir -p "$WORKDIR"
204-
chmod -R 777 "$WORKDIR"
205-
bash /home/circleci/nipype/.circleci/test_py2_fmri_spm_nested_multiproc_l2.sh
206-
- store_artifacts:
207-
path: /home/circleci/work/tests
208-
209-
test_py3_fmri_fsl_feeds_linear_l1:
163+
test_py3_fmri_fsl_spm:
210164
machine:
211165
# Ubuntu 14.04 with Docker 17.10.0-ce
212166
image: circleci/classic:201710-02
@@ -249,56 +203,13 @@ jobs:
249203
mkdir -p "$WORKDIR"
250204
chmod -R 777 "$WORKDIR"
251205
bash /home/circleci/nipype/.circleci/test_py3_fmri_fsl_feeds_linear_l1.sh
252-
- store_artifacts:
253-
path: /home/circleci/work/tests
254-
255-
test_py3_fmri_fsl_reuse_linear_l1:
256-
machine:
257-
# Ubuntu 14.04 with Docker 17.10.0-ce
258-
image: circleci/classic:201710-02
259-
working_directory: /home/circleci/nipype
260-
steps:
261-
- attach_workspace:
262-
at: /tmp
263-
- run:
264-
name: Load saved Docker images.
265-
no_output_timeout: 60m
266-
command: |
267-
docker load < /tmp/docker/nipype-base-latest-py36-py27.tar.gz
268-
- checkout:
269-
path: /home/circleci/nipype
270-
- run:
271-
name: Get codecov
272-
command: |
273-
pip install --no-cache-dir codecov
274-
- run:
275-
name: Download test data
276-
no_output_timeout: 20m
277-
working_directory: /home/circleci/examples
278-
environment:
279-
OSF_NIPYPE_URL: "https://files.osf.io/v1/resources/nefdp/providers/osfstorage"
280-
command: |
281-
export DATA_NIPYPE_TUTORIAL_URL="${OSF_NIPYPE_URL}/57f4739cb83f6901ed94bf21"
282-
curl -sSL --retry 5 --connect-timeout 15 "$DATA_NIPYPE_TUTORIAL_URL" | tar xj
283-
284-
export DATA_NIPYPE_FSL_COURSE="${OSF_NIPYPE_URL}/57f472cf9ad5a101f977ecfe"
285-
curl -sSL --retry 5 --connect-timeout 15 "$DATA_NIPYPE_FSL_COURSE" | tar xz
286-
287-
export DATA_NIPYPE_FSL_FEEDS="${OSF_NIPYPE_URL}/57f473066c613b01f113e7af"
288-
curl -sSL --retry 5 --connect-timeout 15 "$DATA_NIPYPE_FSL_FEEDS" | tar xz
289-
- run:
290-
name: Run tests
291-
no_output_timeout: 2h
292-
environment:
293-
WORKDIR: /home/circleci/work
294-
command: |
295-
mkdir -p "$WORKDIR"
296-
chmod -R 777 "$WORKDIR"
297206
bash /home/circleci/nipype/.circleci/test_py3_fmri_fsl_reuse_linear_l1.sh
207+
bash /home/circleci/nipype/.circleci/test_py3_fmri_spm_linear_3d.sh
208+
bash /home/circleci/nipype/.circleci/test_py3_fmri_spm_linear_4d.sh
298209
- store_artifacts:
299210
path: /home/circleci/work/tests
300211

301-
test_py3_fmri_spm_dartel_linear_l1:
212+
test_py3_fmri_spm_dartel_linear:
302213
machine:
303214
# Ubuntu 14.04 with Docker 17.10.0-ce
304215
image: circleci/classic:201710-02
@@ -341,148 +252,11 @@ jobs:
341252
mkdir -p "$WORKDIR"
342253
chmod -R 777 "$WORKDIR"
343254
bash /home/circleci/nipype/.circleci/test_py3_fmri_spm_dartel_linear_l1.sh
344-
- store_artifacts:
345-
path: /home/circleci/work/tests
346-
347-
test_py3_fmri_spm_dartel_linear_l2:
348-
machine:
349-
# Ubuntu 14.04 with Docker 17.10.0-ce
350-
image: circleci/classic:201710-02
351-
working_directory: /home/circleci/nipype
352-
steps:
353-
- attach_workspace:
354-
at: /tmp
355-
- run:
356-
name: Load saved Docker images.
357-
no_output_timeout: 60m
358-
command: |
359-
docker load < /tmp/docker/nipype-base-latest-py36-py27.tar.gz
360-
- checkout:
361-
path: /home/circleci/nipype
362-
- run:
363-
name: Get codecov
364-
command: |
365-
pip install --no-cache-dir codecov
366-
- run:
367-
name: Download test data
368-
no_output_timeout: 20m
369-
working_directory: /home/circleci/examples
370-
environment:
371-
OSF_NIPYPE_URL: "https://files.osf.io/v1/resources/nefdp/providers/osfstorage"
372-
command: |
373-
export DATA_NIPYPE_TUTORIAL_URL="${OSF_NIPYPE_URL}/57f4739cb83f6901ed94bf21"
374-
curl -sSL --retry 5 --connect-timeout 15 "$DATA_NIPYPE_TUTORIAL_URL" | tar xj
375-
376-
export DATA_NIPYPE_FSL_COURSE="${OSF_NIPYPE_URL}/57f472cf9ad5a101f977ecfe"
377-
curl -sSL --retry 5 --connect-timeout 15 "$DATA_NIPYPE_FSL_COURSE" | tar xz
378-
379-
export DATA_NIPYPE_FSL_FEEDS="${OSF_NIPYPE_URL}/57f473066c613b01f113e7af"
380-
curl -sSL --retry 5 --connect-timeout 15 "$DATA_NIPYPE_FSL_FEEDS" | tar xz
381-
- run:
382-
name: Run tests
383-
no_output_timeout: 2h
384-
environment:
385-
WORKDIR: /home/circleci/work
386-
command: |
387-
mkdir -p "$WORKDIR"
388-
chmod -R 777 "$WORKDIR"
389255
bash /home/circleci/nipype/.circleci/test_py3_fmri_spm_dartel_linear_l2.sh
390256
- store_artifacts:
391257
path: /home/circleci/work/tests
392258

393-
test_py3_fmri_spm_linear_3d:
394-
machine:
395-
# Ubuntu 14.04 with Docker 17.10.0-ce
396-
image: circleci/classic:201710-02
397-
working_directory: /home/circleci/nipype
398-
steps:
399-
- attach_workspace:
400-
at: /tmp
401-
- run:
402-
name: Load saved Docker images.
403-
no_output_timeout: 60m
404-
command: |
405-
docker load < /tmp/docker/nipype-base-latest-py36-py27.tar.gz
406-
- checkout:
407-
path: /home/circleci/nipype
408-
- run:
409-
name: Get codecov
410-
command: |
411-
pip install --no-cache-dir codecov
412-
- run:
413-
name: Download test data
414-
no_output_timeout: 20m
415-
working_directory: /home/circleci/examples
416-
environment:
417-
OSF_NIPYPE_URL: "https://files.osf.io/v1/resources/nefdp/providers/osfstorage"
418-
command: |
419-
export DATA_NIPYPE_TUTORIAL_URL="${OSF_NIPYPE_URL}/57f4739cb83f6901ed94bf21"
420-
curl -sSL --retry 5 --connect-timeout 15 "$DATA_NIPYPE_TUTORIAL_URL" | tar xj
421-
422-
export DATA_NIPYPE_FSL_COURSE="${OSF_NIPYPE_URL}/57f472cf9ad5a101f977ecfe"
423-
curl -sSL --retry 5 --connect-timeout 15 "$DATA_NIPYPE_FSL_COURSE" | tar xz
424-
425-
export DATA_NIPYPE_FSL_FEEDS="${OSF_NIPYPE_URL}/57f473066c613b01f113e7af"
426-
curl -sSL --retry 5 --connect-timeout 15 "$DATA_NIPYPE_FSL_FEEDS" | tar xz
427-
- run:
428-
name: Run tests
429-
no_output_timeout: 2h
430-
environment:
431-
WORKDIR: /home/circleci/work
432-
command: |
433-
mkdir -p "$WORKDIR"
434-
chmod -R 777 "$WORKDIR"
435-
bash /home/circleci/nipype/.circleci/test_py3_fmri_spm_linear_3d.sh
436-
- store_artifacts:
437-
path: /home/circleci/work/tests
438-
439-
test_py3_fmri_spm_linear_4d:
440-
machine:
441-
# Ubuntu 14.04 with Docker 17.10.0-ce
442-
image: circleci/classic:201710-02
443-
working_directory: /home/circleci/nipype
444-
steps:
445-
- attach_workspace:
446-
at: /tmp
447-
- run:
448-
name: Load saved Docker images.
449-
no_output_timeout: 60m
450-
command: |
451-
docker load < /tmp/docker/nipype-base-latest-py36-py27.tar.gz
452-
- checkout:
453-
path: /home/circleci/nipype
454-
- run:
455-
name: Get codecov
456-
command: |
457-
pip install --no-cache-dir codecov
458-
- run:
459-
name: Download test data
460-
no_output_timeout: 20m
461-
working_directory: /home/circleci/examples
462-
environment:
463-
OSF_NIPYPE_URL: "https://files.osf.io/v1/resources/nefdp/providers/osfstorage"
464-
command: |
465-
export DATA_NIPYPE_TUTORIAL_URL="${OSF_NIPYPE_URL}/57f4739cb83f6901ed94bf21"
466-
curl -sSL --retry 5 --connect-timeout 15 "$DATA_NIPYPE_TUTORIAL_URL" | tar xj
467-
468-
export DATA_NIPYPE_FSL_COURSE="${OSF_NIPYPE_URL}/57f472cf9ad5a101f977ecfe"
469-
curl -sSL --retry 5 --connect-timeout 15 "$DATA_NIPYPE_FSL_COURSE" | tar xz
470-
471-
export DATA_NIPYPE_FSL_FEEDS="${OSF_NIPYPE_URL}/57f473066c613b01f113e7af"
472-
curl -sSL --retry 5 --connect-timeout 15 "$DATA_NIPYPE_FSL_FEEDS" | tar xz
473-
- run:
474-
name: Run tests
475-
no_output_timeout: 2h
476-
environment:
477-
WORKDIR: /home/circleci/work
478-
command: |
479-
mkdir -p "$WORKDIR"
480-
chmod -R 777 "$WORKDIR"
481-
bash /home/circleci/nipype/.circleci/test_py3_fmri_spm_linear_4d.sh
482-
- store_artifacts:
483-
path: /home/circleci/work/tests
484-
485-
test_py3_fmri_spm_nested_multiproc_l1:
259+
test_fmri_spm_nested_multiproc:
486260
machine:
487261
# Ubuntu 14.04 with Docker 17.10.0-ce
488262
image: circleci/classic:201710-02
@@ -525,6 +299,7 @@ jobs:
525299
mkdir -p "$WORKDIR"
526300
chmod -R 777 "$WORKDIR"
527301
bash /home/circleci/nipype/.circleci/test_py3_fmri_spm_nested_multiproc_l1.sh
302+
bash /home/circleci/nipype/.circleci/test_py2_fmri_spm_nested_multiproc_l2.sh
528303
- store_artifacts:
529304
path: /home/circleci/work/tests
530305

@@ -571,28 +346,13 @@ workflows:
571346
- test_pytest:
572347
requires:
573348
- build_images
574-
- test_py2_fmri_spm_nested_multiproc_l2:
575-
requires:
576-
- build_images
577-
- test_py3_fmri_fsl_feeds_linear_l1:
578-
requires:
579-
- build_images
580-
- test_py3_fmri_fsl_reuse_linear_l1:
581-
requires:
582-
- build_images
583-
- test_py3_fmri_spm_dartel_linear_l1:
584-
requires:
585-
- build_images
586-
- test_py3_fmri_spm_dartel_linear_l2:
587-
requires:
588-
- build_images
589-
- test_py3_fmri_spm_linear_3d:
349+
- test_py3_fmri_fsl_spm:
590350
requires:
591351
- build_images
592-
- test_py3_fmri_spm_linear_4d:
352+
- test_py3_fmri_spm_dartel_linear:
593353
requires:
594354
- build_images
595-
- test_py3_fmri_spm_nested_multiproc_l1:
355+
- test_fmri_spm_nested_multiproc:
596356
requires:
597357
- build_images
598358
- deploy:
@@ -601,11 +361,6 @@ workflows:
601361
only: master
602362
requires:
603363
- test_pytest
604-
- test_py2_fmri_spm_nested_multiproc_l2
605-
- test_py3_fmri_fsl_feeds_linear_l1
606-
- test_py3_fmri_fsl_reuse_linear_l1
607-
- test_py3_fmri_spm_dartel_linear_l1
608-
- test_py3_fmri_spm_dartel_linear_l2
609-
- test_py3_fmri_spm_linear_3d
610-
- test_py3_fmri_spm_linear_4d
611-
- test_py3_fmri_spm_nested_multiproc_l1
364+
- test_fmri_spm_nested_multiproc
365+
- test_py3_fmri_fsl_spm
366+
- test_py3_fmri_spm_dartel_linear

0 commit comments

Comments
 (0)