Skip dask tests on ARM. (#6267)

Co-authored-by: Hyunsu Cho <chohyu01@cs.washington.edu>
This commit is contained in:
Jiaming Yuan
2020-10-26 15:09:05 +08:00
committed by GitHub
parent 677f676172
commit 2686d32a36
5 changed files with 4 additions and 12 deletions

View File

@@ -52,7 +52,7 @@ if [ ${TASK} == "python_test" ]; then
echo "------------------------------"
if [ ${TRAVIS_CPU_ARCH} == "arm64" ]; then
tests/ci_build/ci_build.sh aarch64 docker \
bash -c "source activate aarch64_test && python -m pip install ./python-package/dist/xgboost-*-py3-none-${TAG}.whl && python -m pytest -v -s -rxXs --durations=0 --fulltrace tests/python --cov=python-package/xgboost"
bash -c "source activate aarch64_test && python -m pip install ./python-package/dist/xgboost-*-py3-none-${TAG}.whl && python -m pytest -v -s -rxXs --durations=0 --fulltrace tests/python/test_basic.py tests/python/test_basic_models.py tests/python/test_model_compatibility.py --cov=python-package/xgboost"
else
conda env create -n cpu_test --file=tests/ci_build/conda_env/macos_cpu_test.yml
conda activate cpu_test