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

Skip to content

Commit c8fc318

Browse files
committed
Enable pytest-xdist on AppVeyor.
1 parent 25fdef8 commit c8fc318

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

appveyor.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ environment:
1414
CMD_IN_ENV: "cmd /E:ON /V:ON /C obvci_appveyor_python_build_env.cmd"
1515
# Workaround for https://github.com/conda/conda-build/issues/636
1616
PYTHONIOENCODING: "UTF-8"
17-
PYTEST_ARGS: -ra --timeout=300 --durations=25 #--cov-report= --cov=lib #-n %NUMBER_OF_PROCESSORS%
17+
PYTEST_ARGS: -ra --timeout=300 --durations=25 -n %NUMBER_OF_PROCESSORS% #--cov-report= --cov=lib
1818
USE_PYTEST: no
19-
#PYTHONHASHSEED: 0 # Workaround for pytest-xdist flaky colletion order
20-
# # https://github.com/pytest-dev/pytest/issues/920
21-
# # https://github.com/pytest-dev/pytest/issues/1075
19+
PYTHONHASHSEED: 0 # Workaround for pytest-xdist flaky collection order
20+
# https://github.com/pytest-dev/pytest/issues/920
21+
# https://github.com/pytest-dev/pytest/issues/1075
2222

2323
matrix:
2424
# for testing purpose: numpy 1.8 on py2.7, for the rest use 1.10/latest
@@ -96,7 +96,7 @@ install:
9696
- cmd: echo %PYTHON_VERSION% %TARGET_ARCH%
9797
- cmd: IF %PYTHON_VERSION% == 2.7 conda install -q functools32
9898
# pytest-cov>=2.3.1 due to https://github.com/pytest-dev/pytest-cov/issues/124
99-
- if x%USE_PYTEST% == xyes conda install -q pytest "pytest-cov>=2.3.1" pytest-timeout #pytest-xdist
99+
- if x%USE_PYTEST% == xyes conda install -q pytest "pytest-cov>=2.3.1" pytest-timeout pytest-xdist
100100

101101
# Let the install prefer the static builds of the libs
102102
- set LIBRARY_LIB=%CONDA_PREFIX%\Library\lib

0 commit comments

Comments
 (0)