[dask] Add shap tests. (#6575)

This commit is contained in:
Jiaming Yuan
2021-01-08 14:59:27 +08:00
committed by GitHub
parent 7c9dcbedbc
commit 96d3d32265
3 changed files with 78 additions and 7 deletions

View File

@@ -174,12 +174,7 @@ jobs:
python -m pip install wheel setuptools mypy dask[complete] distributed
- name: Run mypy
run: |
cd python-package
# dask is required to pass, others are not
mypy ./xgboost/dask.py ../tests/python/test_with_dask.py --follow-imports=silent
mypy ../tests/python-gpu/test_gpu_with_dask.py --follow-imports=silent
# If any of the above failed, contributor won't see the next error.
mypy . || true
make mypy
doxygen:
runs-on: ubuntu-latest