Skip to content

Commit a374998

Browse files
authored
Merge pull request #2449 from nipy/effigies-patch-2
CI: Add doctests to pytest script
2 parents acd1a4c + 5f365a6 commit a374998

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docker/files/run_pytests.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ fi
2626

2727
# Run tests using pytest
2828
export COVERAGE_FILE=${WORKDIR}/tests/.coverage.py${PYTHON_VERSION}
29-
py.test -v --junitxml=${WORKDIR}/tests/pytests_py${PYTHON_VERSION}.xml --cov nipype --cov-config /src/nipype/.coveragerc --cov-report xml:${WORKDIR}/tests/coverage_py${PYTHON_VERSION}.xml ${TESTPATH}
29+
py.test -v --junitxml=${WORKDIR}/tests/pytests_py${PYTHON_VERSION}.xml \
30+
--cov nipype --cov-config /src/nipype/.coveragerc \
31+
--cov-report xml:${WORKDIR}/tests/coverage_py${PYTHON_VERSION}.xml \
32+
-c ${TESTPATH}/pytest.ini ${TESTPATH}
3033
exit_code=$?
3134

3235
# Collect crashfiles

0 commit comments

Comments
 (0)