python3Packages.xgboost: limit tests to just basic tests

This commit is contained in:
Jonathan Ringer
2022-03-14 00:29:08 +01:00
committed by Martin Weinelt
parent 2ea8e712b7
commit e810e4e0a1
@@ -48,7 +48,8 @@ buildPythonPackage {
ln -s ${xgboost}/bin/xgboost ../xgboost
'';
pytestFlagsArray = ["../tests/python"];
# tests are extremely cpu intensive, only run basic tests to ensure package is working
pytestFlagsArray = ["../tests/python/test_basic.py"];
disabledTestPaths = [
# Requires internet access: https://github.com/dmlc/xgboost/blob/03cd087da180b7dff21bd8ef34997bf747016025/tests/python/test_ranking.py#L81
"../tests/python/test_ranking.py"