From 28d65308a6285814f26a69c821bd71c842ba91bb Mon Sep 17 00:00:00 2001 From: atalman Date: Fri, 29 Dec 2023 12:17:18 -0800 Subject: [PATCH] [validations] Fix use case if INCLUDE_TEST_OPS is not set --- .github/scripts/validate_binaries.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/validate_binaries.sh b/.github/scripts/validate_binaries.sh index 503947556..042b22767 100755 --- a/.github/scripts/validate_binaries.sh +++ b/.github/scripts/validate_binaries.sh @@ -50,7 +50,7 @@ else fi # We are only interested in CUDA tests and Python 3.8-3.11. Not all requirement libraries are available for 3.12 yet. - if [[ ${INCLUDE_TEST_OPS} == 'true' && ${MATRIX_GPU_ARCH_TYPE} == 'cuda' && ${MATRIX_PYTHON_VERSION} != "3.12" ]]; then + if [[ ${INCLUDE_TEST_OPS:-} == 'true' && ${MATRIX_GPU_ARCH_TYPE} == 'cuda' && ${MATRIX_PYTHON_VERSION} != "3.12" ]]; then source ./.github/scripts/validate_test_ops.sh fi