File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -21,20 +21,17 @@ if [[ "${PYTHON_VERSION}" -lt "30" ]]; then
2121fi
2222
2323# Run tests using pytest
24- # NOTE_dj: not sure about --xunit-file part (not using with pytest for now)
2524cd /root/src/nipype/
2625make clean
2726py.test --doctest-modules --cov-report xml:/scratch/coverage_py${PYTHON_VERSION} .xml --cov=nipype nipype
28- # nosetests -s nipype -c /root/src/nipype/.noserc --xunit-file="/scratch/nosetests_py${PYTHON_VERSION}.xml" --cover-xml-file="/scratch/coverage_py${PYTHON_VERSION}.xml"
27+
2928
3029# Workaround: run here the profiler tests in python 3
31- # NOTE_dj: not sure why this is different for python 3 and 2, is it ok that only python3 part is included in coverage?
32- # NOTE_dj: I'm not sure about --xunit-file
3330if [[ " ${PYTHON_VERSION} " -ge " 30" ]]; then
3431 echo ' [execution]' >> /root/.nipype/nipype.cfg
3532 echo ' profile_runtime = true' >> /root/.nipype/nipype.cfg
36- py.test --cov-report xml:/scratch/coverage_py${PYTHON_VERSION} _profiler.xml --cov=nipype nipype/interfaces/tests/test_runtime_profiler.py # --xunit-file="/scratch/nosetests_py${PYTHON_VERSION}_profiler.xml" --cover-xml-file="/scratch/coverage_py${PYTHON_VERSION}_profiler.xml"
37- py.test --cov-report xml:/scratch/coverage_py${PYTHON_VERSION} _multiproc.xml --cov=nipype nipype/pipeline/plugins/tests/test_multiproc* .py # --xunit-file="/scratch/nosetests_py${PYTHON_VERSION}_multiproc.xml" --cover-xml-file="/scratch/coverage_py${PYTHON_VERSION}_multiproc.xml"
33+ py.test --cov-report xml:/scratch/coverage_py${PYTHON_VERSION} _profiler.xml --cov=nipype nipype/interfaces/tests/test_runtime_profiler.py
34+ py.test --cov-report xml:/scratch/coverage_py${PYTHON_VERSION} _multiproc.xml --cov=nipype nipype/pipeline/plugins/tests/test_multiproc* .py
3835fi
3936
4037# Copy crashfiles to scratch
You can’t perform that action at this time.
0 commit comments