Skip to content

Commit 7af2eca

Browse files
committed
removing notes/questions from run_pytest
1 parent 3e8bb7c commit 7af2eca

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

docker/circleci/run_pytests.sh

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,17 @@ if [[ "${PYTHON_VERSION}" -lt "30" ]]; then
2121
fi
2222

2323
# Run tests using pytest
24-
# NOTE_dj: not sure about --xunit-file part (not using with pytest for now)
2524
cd /root/src/nipype/
2625
make clean
2726
py.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
3330
if [[ "${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
3835
fi
3936

4037
# Copy crashfiles to scratch

0 commit comments

Comments
 (0)