mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
feat: add api test make file
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
This commit is contained in:
parent
4d2332f1e3
commit
3e4fa66f93
5
Makefile
5
Makefile
@ -166,6 +166,11 @@ test:
|
||||
cover:
|
||||
@$(MAKE) go.test.cover
|
||||
|
||||
## test-api: Run api test. ✨
|
||||
.PHONY: test-api
|
||||
test-api:
|
||||
@$(MAKE) go.test.api
|
||||
|
||||
## updates: Check for updates to go.mod dependencies. ✨
|
||||
.PHONY: updates
|
||||
@$(MAKE) go.updates
|
||||
|
@ -193,6 +193,12 @@ go.lint: tools.verify.golangci-lint
|
||||
go.test:
|
||||
@$(GO) test ./...
|
||||
|
||||
## go.test.api: Run api test
|
||||
.PHONY: go.test.api
|
||||
go.test.api:
|
||||
@echo "===========> Run api test"
|
||||
@$(ROOT_DIR)/scripts/install/test.sh openim::test::test
|
||||
|
||||
## go.demo: Run demo
|
||||
.PHONY: go.demo
|
||||
go.demo:
|
||||
|
Loading…
x
Reference in New Issue
Block a user