Skip to content

Commit a06530e

Browse files
committed
CI: Split coverage and smoke tests, un-quote asterisks
1 parent e32cbcc commit a06530e

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

.circleci/config.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,17 @@ _get_codecov: &_get_codecov
9696
command: |
9797
pip install --no-cache-dir codecov
9898
99-
_run_codecov: &_run_codecov
100-
name: Run codecov
99+
_run_codecov_coverage: &_run_codecov_coverage
100+
name: Run codecov (coverage)
101101
environment: *test_environment
102102
command: |
103-
codecov --file "$WORKDIR/tests/coverage*.xml" --root "$HOME/nipype" --flags unittests -e "$CIRCLE_JOB"
104-
codecov --file "$WORKDIR/tests/smoketest*.xml" --root "$HOME/nipype" --flags smoketests -e "$CIRCLE_JOB"
103+
codecov --file $WORKDIR/tests/coverage*.xml --root "$HOME/nipype" --flags unittests -e CIRCLE_JOB
104+
105+
_run_codecov_smoke: &_run_codecov_smoke
106+
name: Run codecov (smoke tests)
107+
environment: *test_environment
108+
command: |
109+
codecov --file $WORKDIR/tests/smoketest*.xml --root "$HOME/nipype" --flags smoketests -e CIRCLE_JOB
105110
106111
107112
version: 2
@@ -167,7 +172,7 @@ jobs:
167172
no_output_timeout: 30m
168173
environment: *test_environment
169174
command: bash -ux /home/circleci/nipype/.circleci/test_py2_pytest.sh
170-
- run: *_run_codecov
175+
- run: *_run_codecov_coverage
171176
- store_artifacts: *store_artifacts_kwds
172177

173178
test_py3_fmri_fsl_spm:
@@ -205,7 +210,7 @@ jobs:
205210
no_output_timeout: 40m
206211
environment: *test_environment
207212
command: bash -ux /home/circleci/nipype/.circleci/test_py3_fmri_spm_linear_4d.sh
208-
- run: *_run_codecov
213+
- run: *_run_codecov_smoke
209214
- store_artifacts: *store_artifacts_kwds
210215

211216
test_py3_fmri_spm_dartel_multiproc:
@@ -233,7 +238,7 @@ jobs:
233238
no_output_timeout: 30m
234239
environment: *test_environment
235240
command: bash -ux /home/circleci/nipype/.circleci/test_py3_fmri_spm_dartel_multiproc_l2.sh
236-
- run: *_run_codecov
241+
- run: *_run_codecov_smoke
237242
- store_artifacts: *store_artifacts_kwds
238243

239244
test_fmri_spm_nested_multiproc:
@@ -262,7 +267,7 @@ jobs:
262267
no_output_timeout: 30m
263268
environment: *test_environment
264269
command: bash -ux /home/circleci/nipype/.circleci/test_py2_fmri_spm_nested_multiproc_l2.sh
265-
- run: *_run_codecov
270+
- run: *_run_codecov_smoke
266271
- store_artifacts: *store_artifacts_kwds
267272
- run:
268273
name: Build docs (py36)

0 commit comments

Comments
 (0)