Add tidy before running tests

This commit is contained in:
Omkar P 2025-04-01 13:32:28 +05:30
parent 4f6b1e9018
commit cb6778015e
No known key found for this signature in database
GPG Key ID: 61FCDA22C2E62220

View File

@ -40,6 +40,8 @@ for dialect in "${dialects[@]}" ; do
then
echo "testing ${dialect}..."
go mod tidy
if [ "$GORM_VERBOSE" = "" ]
then
GORM_DIALECT=${dialect} go test -race -count=1 ./...