Time the CPU tests on Jenkins. (#6257)

* Time the CPU tests on Jenkins.
* Reduce thread contention.
* Add doc.
* Skip heavy tests on ARM.
This commit is contained in:
Jiaming Yuan
2020-10-21 08:19:07 +08:00
committed by GitHub
parent d1254808d5
commit 81c37c28d5
9 changed files with 29 additions and 18 deletions

View File

@@ -39,6 +39,7 @@ def test_feature_weights_demo():
@pytest.mark.skipif(**tm.no_sklearn())
@pytest.mark.skipif(**tm.is_arm())
def test_sklearn_demo():
script = os.path.join(PYTHON_DEMO_DIR, 'sklearn_examples.py')
cmd = ['python', script]
@@ -48,6 +49,7 @@ def test_sklearn_demo():
@pytest.mark.skipif(**tm.no_sklearn())
@pytest.mark.skipif(**tm.is_arm())
def test_sklearn_parallel_demo():
script = os.path.join(PYTHON_DEMO_DIR, 'sklearn_parallel.py')
cmd = ['python', script]