Fix CLI model IO. (#5535)

* Add test for comparing Python and CLI training result.
This commit is contained in:
Jiaming Yuan
2020-04-16 07:48:47 +08:00
committed by GitHub
parent 0676a19e70
commit 468b1594d3
4 changed files with 100 additions and 9 deletions

2
Jenkinsfile vendored
View File

@@ -201,6 +201,7 @@ def BuildCPU() {
${docker_extra_params} ${dockerRun} ${container_type} ${docker_binary} build/testxgboost
"""
stash name: 'xgboost_cli', includes: 'xgboost'
deleteDir()
}
}
@@ -282,6 +283,7 @@ def TestPythonCPU() {
node('linux && cpu') {
unstash name: 'xgboost_whl_cuda9'
unstash name: 'srcs'
unstash name: 'xgboost_cli'
echo "Test Python CPU"
def container_type = "cpu"
def docker_binary = "docker"