Fix: reset before ci testing
Some checks failed
Go test / run-go-vet (push) Successful in 7s
Go test / check-swagger-up-to-date (push) Successful in 9s
Go test / run-go-test (push) Failing after 31s
Go test / release-image (push) Has been skipped
Go test / cleanup-go-test (push) Successful in 4s

This commit is contained in:
2025-12-13 02:01:17 +08:00
parent 7a108de0ab
commit e6c46f29f5
3 changed files with 4 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
.PHONY: all swagger install postgres test test-ci mac reset \
.PHONY: all swagger install postgres test mac reset \
docker docker-quiet docker-clean
SWAG ?= go run github.com/swaggo/swag/cmd/swag@v1.16.4
@@ -47,8 +47,6 @@ postgres:
$(COMPOSE) exec postgres psql \
postgres://go2025:go2025@postgres:5432/go2025?sslmode=disable
test-ci: docker-quiet test docker-clean
docker-quiet: docker-build-native
$(COMPOSE) up -d \
--force-recreate --build backend \