From 5f080c9146b28db603217f69e366ae6727fe6a93 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Mon, 16 Sep 2024 22:27:20 -0500 Subject: [PATCH] more quoting --- .ci/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/test.sh b/.ci/test.sh index 9c584ab9501..a0910eb3933 100755 --- a/.ci/test.sh +++ b/.ci/test.sh @@ -66,9 +66,9 @@ fi CONDA_PYTHON_REQUIREMENT="python=${PYTHON_VERSION}[build=*cpython]" if [[ $TASK == "if-else" ]]; then - mamba create -q -y -n $CONDA_ENV "${CONDA_PYTHON_REQUIREMENT}" numpy + mamba create -q -y -n "${CONDA_ENV}" "${CONDA_PYTHON_REQUIREMENT}" numpy # shellcheck disable=SC1091 - source activate $CONDA_ENV + source activate "${CONDA_ENV}" cmake -B build -S . || exit 1 cmake --build build --target lightgbm -j4 || exit 1 cd "$BUILD_DIRECTORY/tests/cpp_tests"