Skip to content

Commit 332f052

Browse files
committed
enh: run tests in parallel
1 parent a5771fc commit 332f052

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.codecov.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
coverage:
22
range: "0...100"
33
ignore:
4-
- "nitransforms/tests/data"
4+
- "**/data"
55
- "setup.py"

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ install:
99
- pip install -U -e .[test]
1010

1111
script:
12-
- pytest -v --cov nitransforms --cov-config .coveragerc --cov-report xml:cov.xml --doctest-modules nitransforms
12+
- pytest -v -n auto --cov nitransforms --cov-config .coveragerc --cov-report xml:cov.xml --doctest-modules nitransforms
1313

1414
after_success:
1515
- codecov --file cov.xml --flags unittests -e TRAVIS_JOB_NUMBER

setup.cfg

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ install_requires =
1212
test_requires =
1313
pytest
1414
pytest-cov
15+
pytest-xdist
1516
nose
1617
codecov
1718
packages = find:
@@ -21,6 +22,7 @@ include_package_data = True
2122
test =
2223
pytest
2324
pytest-cov
25+
pytest-xdist
2426
nose
2527
codecov
2628
tests =

0 commit comments

Comments
 (0)