ci/cygwin: Install pytest-xdist for unit tests

The job is taking too long and timing out, use pytest-xdist to speed
up unit tests. Speeds it up on my system from 20 min to 8 min.

Still much slower than native windows: vs2017-x64 takes 3.5 min with
pytest-xdist.
pull/5719/head
Nirbheek Chauhan 6 years ago committed by Nirbheek Chauhan
parent f5ed85d7cd
commit ab0e65c196
  1. 3
      azure-pipelines.yml

@ -115,9 +115,12 @@ jobs:
zlib-devel
displayName: Install Dependencies
- script: |
%CYGWIN_ROOT%\bin\python3.5m.exe -m pip --disable-pip-version-check install pytest-xdist
displayName: pip install pytest-xdist
- script: |
set BOOST_ROOT=
set PATH=%CYGWIN_ROOT%\bin;%SYSTEMROOT%\system32
# FIXME: we need to support systems without unversioned `python3`
cp /usr/bin/python3.5 /usr/bin/python3
env.exe -- python3 run_tests.py --backend=ninja
displayName: Run Tests

Loading…
Cancel
Save