mirror of
https://github.com/dolthub/dolt.git
synced 2025-12-21 11:59:41 -06:00
iterate
This commit is contained in:
8
.github/workflows/ci-go-tests.yaml
vendored
8
.github/workflows/ci-go-tests.yaml
vendored
@@ -55,10 +55,10 @@ jobs:
|
||||
file_arr=($files)
|
||||
IFS=$SAVEIFS
|
||||
set -x
|
||||
ls "$MSYS2_LOCATION"/ucrt64
|
||||
ls "$MSYS2_LOCATION"/ucrt64/bin
|
||||
ls "$MSYS2_LOCATION"/usr/bin
|
||||
"$MSYS2_LOCATION"/ucrt64.exe --help
|
||||
ls "$MSYS2_LOCATION"/ucrt64/lib
|
||||
echo "$PATH"
|
||||
export PATH="$MSYS2_LOCATION"/ucrt64/bin:"$PATH"
|
||||
|
||||
for (( i=0; i<${#file_arr[@]}; i++ ))
|
||||
do
|
||||
@@ -69,7 +69,7 @@ jobs:
|
||||
fi
|
||||
|
||||
echo "Testing Package: ${file_arr[$i]}"
|
||||
"$MSYS2_LOCATION"/mingw64.exe -c 'go test -vet=off -timeout 45m '"${file_arr[$i]}"
|
||||
go test -vet=off -timeout 45m "${file_arr[$i]}"
|
||||
succeeded=$(echo "$?")
|
||||
if [ "$succeeded" -ne 0 ]; then
|
||||
echo "Testing failed in package ${file_arr[$i]}"
|
||||
|
||||
Reference in New Issue
Block a user