Skip to content

Commit 6dbe37a

Browse files
effigiesoesteban
authored andcommitted
CI: Regression testing will be part of pytest
1 parent 074d97a commit 6dbe37a

File tree

1 file changed

+5
-31
lines changed

1 file changed

+5
-31
lines changed

.circleci/config.yml

Lines changed: 5 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,10 @@ jobs:
226226
fi
227227
- attach_workspace:
228228
at: /tmp
229+
- restore_cache:
230+
keys:
231+
- regression-v0-{{ epoch }}
232+
- regression-v0-
229233
- run:
230234
name: Load Docker image layer cache
231235
no_output_timeout: 30m
@@ -314,28 +318,6 @@ jobs:
314318
- store_artifacts:
315319
path: /home/circleci/out/docs
316320

317-
regression_test:
318-
machine:
319-
image: circleci/classic:201711-01
320-
working_directory: /tmp/regression
321-
steps:
322-
- checkout:
323-
path: /home/circleci/src/fmriprep
324-
- run:
325-
name: Check whether build should be skipped
326-
command: |
327-
cd /home/circleci/src/fmriprep
328-
if [[ "$( git log --format=oneline -n 1 $CIRCLE_SHA1 | grep -i -E '\[skip[ _]?reg\]' )" != "" ]]; then
329-
echo "Skipping regression tests"
330-
circleci step halt
331-
fi
332-
- attach_workspace:
333-
at: /tmp
334-
- restore_cache:
335-
keys:
336-
- regression-v0-{{ epoch }}
337-
- regression-v0-
338-
339321
ds005:
340322
machine:
341323
image: circleci/classic:201711-01
@@ -751,6 +733,7 @@ workflows:
751733
- test_pytest:
752734
requires:
753735
- build
736+
- get_regression_data
754737
filters:
755738
branches:
756739
ignore: /docs?\/.*/
@@ -788,15 +771,6 @@ workflows:
788771
tags:
789772
only: /.*/
790773

791-
- regression_test:
792-
requires:
793-
- build
794-
- get_regression_data
795-
filters:
796-
branches:
797-
# only: /meepi.*/
798-
ignore: /docs?\/.*/
799-
800774
- deploy:
801775
requires:
802776
- build

0 commit comments

Comments
 (0)