@@ -95,6 +95,12 @@ _get_codecov: &_get_codecov
9595 command : |
9696 pip install --no-cache-dir codecov
9797
98+ _run_codecov : &_run_codecov
99+ name : Run codecov
100+ command : |
101+ codecov --file "$WORKDIR/tests/coverage*.xml" --root "$HOME/nipype" --flags unittests -e "$CIRCLE_JOB"
102+ codecov --file "$WORKDIR/tests/smoketest*.xml" --root "$HOME/nipype" --flags smoketests -e "$CIRCLE_JOB"
103+
98104
99105version : 2
100106jobs :
@@ -164,6 +170,7 @@ jobs:
164170 no_output_timeout : 30m
165171 environment : *test_environment
166172 command : bash /home/circleci/nipype/.circleci/test_py3_docs.sh
173+ - run : *_run_codecov
167174 - store_artifacts : *store_artifacts_kwds
168175
169176 test_py3_fmri_fsl_spm :
@@ -201,6 +208,7 @@ jobs:
201208 no_output_timeout : 40m
202209 environment : *test_environment
203210 command : bash /home/circleci/nipype/.circleci/test_py3_fmri_spm_linear_4d.sh
211+ - run : *_run_codecov
204212 - store_artifacts : *store_artifacts_kwds
205213
206214 test_py3_fmri_spm_dartel_multiproc :
@@ -228,6 +236,7 @@ jobs:
228236 no_output_timeout : 30m
229237 environment : *test_environment
230238 command : bash /home/circleci/nipype/.circleci/test_py3_fmri_spm_dartel_multiproc_l2.sh
239+ - run : *_run_codecov
231240 - store_artifacts : *store_artifacts_kwds
232241
233242 test_fmri_spm_nested_multiproc :
@@ -256,6 +265,7 @@ jobs:
256265 no_output_timeout : 30m
257266 environment : *test_environment
258267 command : bash /home/circleci/nipype/.circleci/test_py2_fmri_spm_nested_multiproc_l2.sh
268+ - run : *_run_codecov
259269 - store_artifacts : *store_artifacts_kwds
260270 - run :
261271 name : Save Docker images to workspace
0 commit comments