File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 1
1
[run]
2
2
branch = True
3
3
data_file = .coverage
4
- source = nipype/
4
+ source = .
5
5
omit =
6
- external/*
7
- fixes/*
6
+ nipype/external/*
7
+ nipype/fixes/*
8
+ tools/*
8
9
*/tests/*
10
+ include =
11
+ tools/run_exaples.py
9
12
10
13
[report]
11
14
exclude_lines =
Original file line number Diff line number Diff line change @@ -31,11 +31,11 @@ if [[ "${PYTHON_VERSION}" -ge "30" ]]; then
31
31
echo ' profile_runtime = true' >> ${HOME} /.nipype/nipype.cfg
32
32
py.test -n ${CIRCLE_NCPUS:- 1} -v --junitxml=${WORKDIR} /pytests_py${PYTHON_VERSION} _profiler.xml --cov-report xml:${WORKDIR} /coverage_py${PYTHON_VERSION} _profiler.xml /src/nipype/nipype/interfaces/tests/test_runtime_profiler.py && \
33
33
py.test -n ${CIRCLE_NCPUS:- 1} -v --junitxml=${WORKDIR} /pytests_py${PYTHON_VERSION} _multiproc.xml --cov-report xml:${WORKDIR} /coverage_py${PYTHON_VERSION} _multiproc.xml /src/nipype/nipype/pipeline/plugins/tests/test_multiproc* .py
34
- exit_code = $(( $exit_code + $? ))
34
+ exit_code= $(( $exit_code + $? ))
35
35
fi
36
36
37
37
find /src/nipype/ -name " crash-*" -exec mv {} ${WORKDIR} /crashfiles/ \;
38
38
39
39
# Just in case output xml files are misplaced,
40
40
# then circle would not tell the tests failed otherwise
41
- exit $exit_code
41
+ exit ${ exit_code}
Original file line number Diff line number Diff line change 1
1
[pytest]
2
- norecursedirs = .git build dist doc nipype/external tools examples tools
2
+ norecursedirs = .git build dist doc nipype/external tools examples tools src
3
3
addopts = --doctest-modules
You can’t perform that action at this time.
0 commit comments