From ab0e65c19677f47243e204054375f84e72dc61ef Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Thu, 25 Jul 2019 13:20:47 +0530 Subject: 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. --- azure-pipelines.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d97bb1e30..5f6dafd0a 100644 --- a/azure-pipelines.yml +++ b/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 -- cgit v1.2.3