mirror of https://github.com/go-redis/redis.git
test: update go mod before testing(go mod tidy) (#2423)
This commit is contained in:
parent
206ad44196
commit
1cb89d7f3b
1
Makefile
1
Makefile
|
@ -4,6 +4,7 @@ test: testdeps
|
||||||
set -e; for dir in $(GO_MOD_DIRS); do \
|
set -e; for dir in $(GO_MOD_DIRS); do \
|
||||||
echo "go test in $${dir}"; \
|
echo "go test in $${dir}"; \
|
||||||
(cd "$${dir}" && \
|
(cd "$${dir}" && \
|
||||||
|
go mod tidy -compat=1.18 && \
|
||||||
go test && \
|
go test && \
|
||||||
go test ./... -short -race && \
|
go test ./... -short -race && \
|
||||||
go test ./... -run=NONE -bench=. -benchmem && \
|
go test ./... -run=NONE -bench=. -benchmem && \
|
||||||
|
|
Loading…
Reference in New Issue