From cb6778015eec6a952198e61c16a43feee5c9b2a4 Mon Sep 17 00:00:00 2001 From: Omkar P <45419097+omkar-foss@users.noreply.github.com> Date: Tue, 1 Apr 2025 13:32:28 +0530 Subject: [PATCH] Add tidy before running tests --- tests/tests_all.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/tests_all.sh b/tests/tests_all.sh index b221a7d8..f8b473ab 100755 --- a/tests/tests_all.sh +++ b/tests/tests_all.sh @@ -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 ./...