Update tests script

This commit is contained in:
Jinzhu 2021-03-24 16:44:51 +08:00
parent 704e53a774
commit 8204d0ada2
1 changed files with 2 additions and 2 deletions

View File

@ -9,11 +9,11 @@ fi
if [ -d tests ] if [ -d tests ]
then then
cd tests cd tests
go get -u ./...
go mod download
cd .. cd ..
fi fi
go get -u ./...
for dialect in "${dialects[@]}" ; do for dialect in "${dialects[@]}" ; do
if [ "$GORM_DIALECT" = "" ] || [ "$GORM_DIALECT" = "${dialect}" ] if [ "$GORM_DIALECT" = "" ] || [ "$GORM_DIALECT" = "${dialect}" ]
then then