From 7032cc3c073f5d8842765adc4dc32883c943ef2b Mon Sep 17 00:00:00 2001 From: Vyas Ramasubramani Date: Tue, 11 Oct 2022 11:12:05 -0700 Subject: [PATCH] Add coverage for string UDF tests. (#11891) Many PRs are currently showing Codecov patch status check failures that appear to be the result of not uploading coverage reports for the string UDF tests. This PR should enable the missing coverage and ensure that we are actually measuring coverage of these code paths. Authors: - Vyas Ramasubramani (https://github.com/vyasr) Approvers: - GALI PREM SAGAR (https://github.com/galipremsagar) - https://github.com/brandon-b-miller - Jake Awe (https://github.com/AyodeAwe) URL: https://github.com/rapidsai/cudf/pull/11891 --- ci/gpu/build.sh | 2 +- codecov.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/gpu/build.sh b/ci/gpu/build.sh index afcc80a6803..41dac0e5e0f 100755 --- a/ci/gpu/build.sh +++ b/ci/gpu/build.sh @@ -294,7 +294,7 @@ elif [ ${STRINGS_UDF_PYTEST_RETCODE} -ne 0 ]; then else cd "$WORKSPACE/python/cudf/cudf" gpuci_logger "Python py.test retest cuDF UDFs" - py.test tests/test_udf_masked_ops.py -n 8 --cache-clear + py.test -n 8 --cache-clear --basetemp="$WORKSPACE/cudf-cuda-strings-udf-tmp" --ignore="$WORKSPACE/python/cudf/cudf/benchmarks" --junitxml="$WORKSPACE/junit-cudf-strings-udf.xml" -v --cov-config="$WORKSPACE/python/cudf/.coveragerc" --cov=cudf --cov-report=xml:"$WORKSPACE/python/cudf/cudf-strings-udf-coverage.xml" --cov-report term --dist=loadscope tests fi # Run benchmarks with both cudf and pandas to ensure compatibility is maintained. diff --git a/codecov.yml b/codecov.yml index f9d0f906807..d45c7e2990f 100644 --- a/codecov.yml +++ b/codecov.yml @@ -2,7 +2,7 @@ coverage: status: project: off - patch: on + patch: default: target: auto threshold: 0%