diff --git a/.github/workflows/run_test_cases.yaml b/.github/workflows/run_test_cases.yaml index cb4e1e409..7c6b039fc 100644 --- a/.github/workflows/run_test_cases.yaml +++ b/.github/workflows/run_test_cases.yaml @@ -44,7 +44,8 @@ jobs: run: | make ensure-rebar3 # fetch all deps and compile - make + make emqx + make test-compile cd .. zip -ryq source.zip source/* source/.[^.]* - uses: actions/upload-artifact@v3 @@ -69,7 +70,8 @@ jobs: run: | make ensure-rebar3 # fetch all deps and compile - make + make emqx-enterprise + make test-compile cd .. zip -ryq source.zip source/* source/.[^.]* - uses: actions/upload-artifact@v3 diff --git a/Makefile b/Makefile index 311aed651..8cec47020 100644 --- a/Makefile +++ b/Makefile @@ -68,6 +68,10 @@ eunit: $(REBAR) conf-segs proper: $(REBAR) @ENABLE_COVER_COMPILE=1 $(REBAR) proper -d test/props -c +.PHONY: test-compile +test-compile: $(REBAR) conf-segs + $(REBAR) as test compile + .PHONY: ct ct: $(REBAR) conf-segs @ENABLE_COVER_COMPILE=1 $(REBAR) ct --name $(CT_NODE_NAME) -c -v --cover_export_name $(PROFILE)-ct