Skip to content

Commit

Permalink
Use pytest-xdist to speed up tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
interpret-ml committed Aug 17, 2019
1 parent 247aba3 commit 5d9e2e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Expand Up @@ -189,12 +189,12 @@ jobs:
displayName: 'Install requirements'
- script: |
set PATH=%PATH%;%GeckoWebDriver%
python -m pytest -vv --runslow --runselenium --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html
python -m pytest -vv -n auto --runslow --runselenium --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html
workingDirectory: python
condition: in(variables['image.name'], 'windows-2019')
displayName: 'Run pytest (Windows)'
- script: |
python -m pytest -vv --runslow --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html
python -m pytest -vv -n auto --runslow --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html
workingDirectory: python
condition: in(variables['image.name'], 'ubuntu-16.04', 'macOS-10.13')
displayName: 'Run pytest (Non-Windows)'
Expand Down

0 comments on commit 5d9e2e5

Please sign in to comment.