diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ff9b84a82..7f6282ae3 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -98,7 +98,7 @@ jobs: # Work around https://github.com/pypa/pip/issues/9542 - script: 'pip install -U numpy~=1.21.0' displayName: 'Upgrade numpy' - + - script: 'pip install pytest pytest-runner jupyter jupyter-client nbconvert nbformat seaborn xgboost tqdm && pip list && python setup.py pytest' displayName: 'Unit tests' env: @@ -126,12 +126,6 @@ jobs: # Work around https://github.com/pypa/pip/issues/9542 - script: 'pip install -U numpy~=1.21.0' displayName: 'Upgrade numpy' - - # shap 0.39 and sklearn 1.0 interact badly in these notebooks - # shap 0.40 has a bug in waterfall (https://github.com/slundberg/shap/issues/2283) that breaks our main tests - # but fixes the interaction here... - - script: 'pip install -U shap~=0.40.0' - displayName: 'Upgrade shap' - script: 'pip install pytest pytest-runner jupyter jupyter-client nbconvert nbformat seaborn xgboost tqdm && python setup.py pytest' displayName: 'Unit tests'