CI: Select all packages in sharded tests (#105725)

This commit is contained in:
Mariell Hoversholm
2025-05-21 14:25:48 +02:00
committed by GitHub
parent 10b097efa4
commit 8caa62ede0
2 changed files with 2 additions and 2 deletions
@@ -44,7 +44,7 @@ done
shift $((OPTIND - 1))
if [[ ${#dirs[@]} -eq 0 ]]; then
dirs+=("./...")
readarray -t dirs <<< "$(find . -type f -name 'go.mod' -exec dirname '{}' ';' | awk '{ print $1 "/..."; }')"
fi
if [ -z "$beginningWith" ]; then
for pkg in "${dirs[@]}"; do
+1 -1
View File
@@ -100,7 +100,7 @@ if [[ $n -gt $m ]]; then
exit 1
fi
if [[ ${#dirs[@]} -eq 0 ]]; then
dirs+=("./...")
readarray -t dirs <<< "$(find . -type f -name 'go.mod' -exec dirname '{}' ';' | awk '{ print $1 "/..."; }')"
fi
# If dirs is just ("-"), read from stdin instead.
if [[ ${#dirs[@]} -eq 1 && "${dirs[0]}" == "-" ]]; then