python3Packages.xgboost: limit tests to just basic tests
This commit is contained in:
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"
|
||||
|
||||
Reference in New Issue
Block a user