Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e6448ba

Browse files
authored
Merge pull request #9449 from Kojoley/tst-appveyor-enable-xdist
CI: Enable xdist on Appveyor
2 parents e6a74e5 + 7e42898 commit e6448ba

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.appveyor.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ environment:
1717
CMD_IN_ENV: cmd /E:ON /V:ON /C obvci_appveyor_python_build_env.cmd
1818
# Workaround for https://github.com/conda/conda-build/issues/636
1919
PYTHONIOENCODING: UTF-8
20-
PYTEST_ARGS: -rawR --timeout=300 --durations=25 --cov-report= --cov=lib -m "not network"
20+
PYTEST_ARGS: -rawR --numprocesses=auto --timeout=300 --durations=25
21+
--cov-report= --cov=lib -m "not network"
2122

2223
matrix:
2324
# for testing purpose: numpy 1.8 on py2.7, for the rest use 1.10/latest
@@ -90,7 +91,7 @@ install:
9091
- echo %PYTHON_VERSION% %TARGET_ARCH%
9192
- if %PYTHON_VERSION% == 2.7 conda install -q backports.functools_lru_cache
9293
# pytest-cov>=2.3.1 due to https://github.com/pytest-dev/pytest-cov/issues/124
93-
- pip install -q pytest "pytest-cov>=2.3.1" pytest-rerunfailures pytest-timeout
94+
- pip install -q pytest "pytest-cov>=2.3.1" pytest-rerunfailures pytest-timeout pytest-xdist
9495

9596
# Apply patch to `subprocess` on Python versions > 2 and < 3.6.3
9697
# https://github.com/matplotlib/matplotlib/issues/9176

0 commit comments

Comments
 (0)