Skip to content

Commit 677f8c3

Browse files
committed
fix python variable name in pytests script
1 parent e14c17d commit 677f8c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker/files/run_pytests.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ fi
2323
# Run tests using pytest
2424
cd /root/src/nipype/
2525
make clean
26-
py.test -n ${CIRCLE_NCPUS:-4} --doctest-modules --junitxml=/scratch/pytests_py{PYTHON_VERSION}.xml --cov-report xml:/scratch/coverage_py${PYTHON_VERSION}.xml --cov=nipype nipype
26+
py.test -n ${CIRCLE_NCPUS:-4} --doctest-modules --junitxml=/scratch/pytests_py${PYTHON_VERSION}.xml --cov-report xml:/scratch/coverage_py${PYTHON_VERSION}.xml --cov=nipype nipype
2727

2828

2929
# Workaround: run here the profiler tests in python 3
3030
if [[ "${PYTHON_VERSION}" -ge "30" ]]; then
3131
echo '[execution]' >> /root/.nipype/nipype.cfg
3232
echo 'profile_runtime = true' >> /root/.nipype/nipype.cfg
33-
py.test -n ${CIRCLE_NCPUS:-4} --junitxml=/scratch/pytests_py{PYTHON_VERSION}_profiler.xml --cov-report xml:/scratch/coverage_py${PYTHON_VERSION}_profiler.xml --cov=nipype nipype/interfaces/tests/test_runtime_profiler.py
34-
py.test -n ${CIRCLE_NCPUS:-4} --junitxml=/scratch/pytests_py{PYTHON_VERSION}_multiproc.xml --cov-report xml:/scratch/coverage_py${PYTHON_VERSION}_multiproc.xml --cov=nipype nipype/pipeline/plugins/tests/test_multiproc*.py
33+
py.test -n ${CIRCLE_NCPUS:-4} --junitxml=/scratch/pytests_py${PYTHON_VERSION}_profiler.xml --cov-report xml:/scratch/coverage_py${PYTHON_VERSION}_profiler.xml --cov=nipype nipype/interfaces/tests/test_runtime_profiler.py
34+
py.test -n ${CIRCLE_NCPUS:-4} --junitxml=/scratch/pytests_py${PYTHON_VERSION}_multiproc.xml --cov-report xml:/scratch/coverage_py${PYTHON_VERSION}_multiproc.xml --cov=nipype nipype/pipeline/plugins/tests/test_multiproc*.py
3535
fi
3636

3737
# Copy crashfiles to scratch

0 commit comments

Comments
 (0)