Skip to content

Commit e26a3b4

Browse files
committed
✏️ Modify the appending value logic as appending a string value, not an array value.
1 parent e306634 commit e26a3b4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/ci/test/get-all-tests.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ get_all_test_subpackage() {
4747
fi
4848
}
4949

50-
declare -a all_tests
50+
declare all_tests
5151

5252
get_all_test_modules_under_subpkg() {
5353
# Get all test modules with one specific subpackage (directory has __init__.py file)
@@ -59,7 +59,9 @@ get_all_test_modules_under_subpkg() {
5959
alltestpaths+=("$1$test_module_path")
6060
done
6161

62-
all_tests+=("${alltestpaths[@]}")
62+
# shellcheck disable=SC2124
63+
# shellcheck disable=SC2178
64+
all_tests+="${alltestpaths[@]} "
6365
}
6466

6567
get_all_test_modules() {

0 commit comments

Comments
 (0)