mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
test: update go mod before testing(go mod tidy) (#2423)
This commit is contained in:
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 && \
|
||||||
|
Reference in New Issue
Block a user