aboutsummaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2019-07-25 13:20:47 +0530
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2019-07-25 11:57:08 +0000
commitab0e65c19677f47243e204054375f84e72dc61ef (patch)
treef8e54f36ab3d0b17acb1dc4d9d4be432a720606e /azure-pipelines.yml
parentf5ed85d7cd5ca5d618e3a40c4204284b6fe076fb (diff)
downloadmeson-ab0e65c19677f47243e204054375f84e72dc61ef.zip
meson-ab0e65c19677f47243e204054375f84e72dc61ef.tar.gz
meson-ab0e65c19677f47243e204054375f84e72dc61ef.tar.bz2
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.
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index d97bb1e..5f6dafd 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