Skip to content

Commit

Permalink
update work directory in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
oesteban committed Mar 15, 2017
1 parent a68d2b2 commit 93791a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies:
test:
override:
# Test mriqcp
- docker run -i -v /etc/localtime:/etc/localtime:ro -v ${CIRCLE_TEST_REPORTS}:/scratch -w /root/src/mriqc --entrypoint="/usr/bin/run_tests" mriqc:py35 :
- docker run -i -v /etc/localtime:/etc/localtime:ro -v ${CIRCLE_TEST_REPORTS}:/scratch -w /opt/src/mriqc --entrypoint="/usr/bin/run_tests" mriqc:py35 :
timeout: 2600
- docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/data:/data:ro -v $SCRATCH:/scratch -w /scratch mriqc:py35 /data/${TEST_DATA_NAME} out/ participant --testing --verbose-reports :
timeout: 3200
Expand Down
4 changes: 1 addition & 3 deletions docker/files/run_tests
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
#!/bin/bash
source /etc/fsl/fsl.sh
source /etc/afni/afni.sh
py.test --ignore=src/ -n 16 --junitxml=/scratch/tests.xml
py.test --ignore=src/ -n ${CIRCLE_NCPUS:-4} --junitxml=/scratch/tests.xml

0 comments on commit 93791a2

Please sign in to comment.