Skip to content

Commit

Permalink
fix Jenkins'
Browse files Browse the repository at this point in the history
  • Loading branch information
xwu99 committed Jan 6, 2022
1 parent dd35b4d commit 0593841
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
16 changes: 8 additions & 8 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ pipeline {
steps {
script {
parallel ([
// 'clang-tidy': { ClangTidy() },
'clang-tidy': { ClangTidy() },
'build-cpu': { BuildCPU() },
// 'build-cpu-arm64': { BuildCPUARM64() },
// 'build-cpu-rabit-mock': { BuildCPUMock() },
'build-cpu-arm64': { BuildCPUARM64() },
'build-cpu-rabit-mock': { BuildCPUMock() },
// Build reference, distribution-ready Python wheel with CUDA 11.0
// using CentOS 7 image
'build-gpu-cuda11.0': { BuildCUDA(cuda_version: '11.0', build_rmm: true) },
Expand All @@ -75,12 +75,12 @@ pipeline {
script {
parallel ([
'test-python-cpu': { TestPythonCPU() },
// 'test-python-cpu-arm64': { TestPythonCPUARM64() },
'test-python-cpu-arm64': { TestPythonCPUARM64() },
// artifact_cuda_version doesn't apply to RMM tests; RMM tests will always match CUDA version between artifact and host env
// 'test-python-gpu-cuda11.0': { TestPythonGPU(artifact_cuda_version: '11.0', host_cuda_version: '11.0', test_rmm: true) },
// 'test-python-mgpu-cuda11.0': { TestPythonGPU(artifact_cuda_version: '11.0', host_cuda_version: '11.0', multi_gpu: true, test_rmm: true) },
// 'test-cpp-gpu-cuda11.0': { TestCppGPU(artifact_cuda_version: '11.0', host_cuda_version: '11.0', test_rmm: true) },
// 'test-jvm-jdk8': { CrossTestJVMwithJDK(jdk_version: '8', spark_version: '3.0.0') }
'test-python-gpu-cuda11.0': { TestPythonGPU(artifact_cuda_version: '11.0', host_cuda_version: '11.0', test_rmm: true) },
'test-python-mgpu-cuda11.0': { TestPythonGPU(artifact_cuda_version: '11.0', host_cuda_version: '11.0', multi_gpu: true, test_rmm: true) },
'test-cpp-gpu-cuda11.0': { TestCppGPU(artifact_cuda_version: '11.0', host_cuda_version: '11.0', test_rmm: true) },
'test-jvm-jdk8': { CrossTestJVMwithJDK(jdk_version: '8', spark_version: '3.0.0') }
])
}
}
Expand Down
7 changes: 3 additions & 4 deletions Jenkinsfile-win64
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pipeline {
script {
parallel ([
'build-win64-cuda11.0': { BuildWin64() },
// 'build-rpkg-win64-cuda11.0': { BuildRPackageWithCUDAWin64() }
'build-rpkg-win64-cuda11.0': { BuildRPackageWithCUDAWin64() }
])
}
}
Expand Down Expand Up @@ -152,9 +152,8 @@ def TestWin64() {
bat """
conda activate ${env_name} && for /R %%i in (python-package\\dist\\*.whl) DO python -m pip install "%%i"
"""
// echo "Running Python tests..."
echo "Running test_with_arrow ..."
bat "conda activate ${env_name} && python -m pytest -v -rxXs --fulltrace tests\\python\\test_with_arrow.py"
echo "Running Python tests..."
bat "conda activate ${env_name} && python -m pytest -v -s -rxXs --fulltrace tests\\python"
bat """
conda activate ${env_name} && python -m pytest -v -s -rxXs --fulltrace -m "(not slow) and (not mgpu)" tests\\python-gpu
"""
Expand Down

0 comments on commit 0593841

Please sign in to comment.