ci: only run static check for emqx-enterprise profile

This commit is contained in:
Zaiming (Stone) Shi 2023-02-02 15:00:36 +01:00
parent 85fb53dcf0
commit 7df50032c1
1 changed files with 2 additions and 1 deletions

View File

@ -79,7 +79,8 @@ ct: $(REBAR) merge-config
.PHONY: static_checks
static_checks:
@$(REBAR) as check do dialyzer, xref, ct --suite apps/emqx/test/emqx_static_checks --readable $(CT_READABLE)
@$(REBAR) as check do dialyzer, xref
@if [ "$${PROFILE}" = 'emqx-enterprise' ]; then $(REBAR) ct --suite apps/emqx/test/emqx_static_checks --readable $(CT_READABLE); fi
APPS=$(shell $(SCRIPTS)/find-apps.sh)