Skip to content

Commit b027ea6

Browse files
committed
maint: update circleci regression masks
1 parent 62c878f commit b027ea6

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

.circleci/config.yml

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ jobs:
151151
steps:
152152
- restore_cache:
153153
keys:
154-
- regression-v2-{{ .Revision }}
155-
- regression-v2-
154+
- regression-v3-{{ .Revision }}
155+
- regression-v3-
156156
- run:
157157
name: Get truncated BOLD series
158158
command: |
@@ -175,7 +175,7 @@ jobs:
175175
echo "Pre-computed masks were cached"
176176
fi
177177
- save_cache:
178-
key: regression-v2-{{ .Revision }}-{{ epoch }}
178+
key: regression-v3-{{ .Revision }}-{{ epoch }}
179179
paths:
180180
- /tmp/data
181181

@@ -282,7 +282,7 @@ jobs:
282282
283283
- restore_cache:
284284
keys:
285-
- regression-v2-{{ .Revision }}
285+
- regression-v3-{{ .Revision }}
286286
- restore_cache:
287287
keys:
288288
- masks-workdir-v2-{{ .Branch }}-{{epoch}}
@@ -305,20 +305,13 @@ jobs:
305305
coverage run -p --rcfile=setup.cfg \
306306
-m pytest --junit-xml=/tmp/masks/reports/regression.xml \
307307
niworkflows/func/tests/
308-
- run:
309-
name: Package new masks
310-
when: always
311-
no_output_timeout: 10m
312-
command: |
313-
cd reports/
314-
tar cvfz /tmp/masks/fmriprep_bold_mask.tar.gz fmriprep_bold_mask/*/*.nii.gz
315-
- store_artifacts:
316-
path: /tmp/masks/fmriprep_bold_mask.tar.gz
317-
318308
- run:
319309
name: Clear reports folder & delete plot generator cache
320310
command: |
311+
pushd reports/
312+
tar cvfz fmriprep_bold_mask.tar.gz fmriprep_bold_mask/*/*.nii.gz
321313
rm -rf /tmp/masks/reports/fmriprep_bold_mask/
314+
popd
322315
find workdir/ -name "mask_diff_plot" -exec rm -rf {} +
323316
- store_artifacts:
324317
path: /tmp/masks/reports

0 commit comments

Comments
 (0)