From 5c452251a6d5b072b303f966e2eb5c200e69366e Mon Sep 17 00:00:00 2001 From: chensuyue Date: Wed, 11 Sep 2024 00:29:02 +0800 Subject: [PATCH] minor fix for CI detect Signed-off-by: chensuyue --- .github/workflows/scripts/get_test_matrix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scripts/get_test_matrix.sh b/.github/workflows/scripts/get_test_matrix.sh index 160858bdc..ef0dafa5d 100644 --- a/.github/workflows/scripts/get_test_matrix.sh +++ b/.github/workflows/scripts/get_test_matrix.sh @@ -30,7 +30,7 @@ function find_test_1() { service=$pre_service/$service if [[ $(ls ${service} | grep -E "Dockerfile*") ]]; then service_name=$(echo $service | tr '/' '_' | cut -c7-) # comps/dataprep/redis/langchain -> dataprep_redis_langchain - default_service_script_path=$(find ./tests -type f -name test_${service_name}*.sh) || true + default_service_script_path=$(find ./tests -type f -name test_${service_name}.sh) || true if [ "$default_service_script_path" ]; then run_matrix="${run_matrix}{\"service\":\"${service_name}\",\"hardware\":\"intel_cpu\"}," fi