修复 rows.Close 失败时的错误返回逻辑 迁移网关路由集成测试到 ent 事务基建 补齐仓储接口变更对应的测试桩方法 新增 backend/Makefile 统一测试命令 测试: GOTOOLCHAIN=go1.24.11 go test ./... 测试: golangci-lint run ./... --timeout=5m 测试: make test-integration
14 lines
221 B
Makefile
14 lines
221 B
Makefile
.PHONY: build test-unit test-integration test-e2e
|
|
|
|
build:
|
|
go build -o bin/server ./cmd/server
|
|
|
|
test-unit:
|
|
go test -tags=unit ./...
|
|
|
|
test-integration:
|
|
go test -tags=integration ./...
|
|
|
|
test-e2e:
|
|
go test -tags=e2e ./...
|