Skip to content

Commit cf2b1f8

Browse files
committed
fun fact - post is not parallelized
1 parent 30ab0e1 commit cf2b1f8

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.circle/tests.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,7 @@ case ${CIRCLE_NODE_INDEX} in
3737
docker run --rm=false -it -v $HOME/examples:/data/examples:ro -v $WORKDIR:/work -w /work nipype/nipype:py35 /usr/bin/run_examples.sh fmri_fsl_reuse Linear /data/examples/ level1_workflow
3838
;;
3939
esac
40+
41+
cp ${WORKDIR}/tests/*.xml ${CIRCLE_TEST_REPORTS}/tests/
42+
codecov -f "coverage*.xml" -s "${WORKDIR}/tests/" -R "${HOME}/nipype/" -F unittests -e CIRCLE_NODE_INDEX
43+
codecov -f "smoketest*.xml" -s "${WORKDIR}/tests/" -R "${HOME}/nipype/" -F smoketests -e CIRCLE_NODE_INDEX

circle.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,6 @@ test:
5050
- bash .circle/tests.sh :
5151
timeout: 7200
5252
parallel: true
53-
post:
54-
# Place reports in the appropriate folder
55-
- cp ${WORKDIR}/tests/*.xml ${CIRCLE_TEST_REPORTS}/tests/
56-
# Send coverage data to codecov.io
57-
- codecov -f "coverage*.xml" -s "${WORKDIR}/tests/" -R "${HOME}/nipype/" -F unittests --env CIRCLE_NODE_INDEX
58-
- codecov -f "smoketest*.xml" -s "${WORKDIR}/tests/" -R "${HOME}/nipype/" -F smoketests --env CIRCLE_NODE_INDEX
5953

6054
general:
6155
artifacts:

0 commit comments

Comments
 (0)