Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Commit 615571c

Browse files
authored
Don't deactivate/remove conda on linux after validation (#1814)
* Don't deactivate/remove conda on linux * test
1 parent 2c67925 commit 615571c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/scripts/validate_binaries.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ else
5454
${PWD}/check_binary.sh
5555
fi
5656

57+
# We are only interested in CUDA tests and Python 3.8-3.11. Not all requirement libraries are available for 3.12 yet.
58+
if [[ ${INCLUDE_TEST_OPS:-} == 'true' && ${MATRIX_GPU_ARCH_TYPE} == 'cuda' && ${MATRIX_PYTHON_VERSION} != "3.12" ]]; then
59+
source ./.github/scripts/validate_test_ops.sh
60+
fi
61+
5762
if [[ ${TARGET_OS} == 'windows' ]]; then
5863
python ./test/smoke_test/smoke_test.py ${TEST_SUFFIX}
5964
else
@@ -64,13 +69,8 @@ else
6469
export PATH=${OLD_PATH}
6570
fi
6671

67-
# We are only interested in CUDA tests and Python 3.8-3.11. Not all requirement libraries are available for 3.12 yet.
68-
if [[ ${INCLUDE_TEST_OPS:-} == 'true' && ${MATRIX_GPU_ARCH_TYPE} == 'cuda' && ${MATRIX_PYTHON_VERSION} != "3.12" ]]; then
69-
source ./.github/scripts/validate_test_ops.sh
70-
fi
71-
72-
# TODO: remove if statement currently this step is timing out on linx-aarch64
73-
if [[ ${TARGET_OS} != 'linux-aarch64' ]]; then
72+
# this is optional step
73+
if [[ ${TARGET_OS} != linux* ]]; then
7474
conda deactivate
7575
conda env remove -n ${ENV_NAME}
7676
fi

0 commit comments

Comments
 (0)