From a1133e10a4e63b4ad49436034d34d32e6bb56818 Mon Sep 17 00:00:00 2001 From: Dillon Cullinan Date: Wed, 3 Feb 2021 20:15:54 -0500 Subject: [PATCH] FIX Add codecov upload block to gpu script (#6860) This moves a block from the Jenkins build into the build script. Simplifies the Jenkins builds slightly and fixes a very rare case where tests may error and not be properly caught due to EXITCODE intricacies. Authors: - Dillon Cullinan (@dillon-cullinan) Approvers: - Ray Douglass (@raydouglass) - AJ Schmidt (@ajschmidt8) URL: https://github.com/rapidsai/cudf/pull/6860 --- CHANGELOG.md | 1 + ci/gpu/build.sh | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f51ae4aa70f..b8ddc382bfe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -200,6 +200,7 @@ Please see https://github.com/rapidsai/cudf/releases/tag/branch-0.18-latest for - PR #6854 Fix the parameter order of writeParquetBufferBegin - PR #6855 Fix `.str.replace_with_backrefs` docs examples - PR #6853 Fix contiguous split of null string columns +- PR #6860 Move codecov upload to build script - PR #6861 Fix compile error in type_dispatch_benchmark.cu - PR #6864 Handle contiguous_split corner case for nested string columns with no children - PR #6869 Avoid dependency resolution failure in latest version of pip by explicitly specifying versions for dask and distributed diff --git a/ci/gpu/build.sh b/ci/gpu/build.sh index fa74092809d..fadd9ae526f 100755 --- a/ci/gpu/build.sh +++ b/ci/gpu/build.sh @@ -220,4 +220,8 @@ gpuci_logger "Test notebooks" ${WORKSPACE}/ci/gpu/test-notebooks.sh 2>&1 | tee nbtest.log python ${WORKSPACE}/ci/utils/nbtestlog2junitxml.py nbtest.log -return ${EXITCODE} \ No newline at end of file +if [ -n "${CODECOV_TOKEN}" ]; then + codecov -t $CODECOV_TOKEN +fi + +return ${EXITCODE}