diff --git a/.github/workflows/run_emqx_app_tests.yaml b/.github/workflows/run_emqx_app_tests.yaml index 5479a86ab..72fe2b0d5 100644 --- a/.github/workflows/run_emqx_app_tests.yaml +++ b/.github/workflows/run_emqx_app_tests.yaml @@ -56,7 +56,7 @@ jobs: ./rebar3 xref ./rebar3 dialyzer ./rebar3 eunit -v - ./rebar3 ct --name 'test@127.0.0.1' -v --readable=true + ./rebar3 as standalone_test ct --name 'test@127.0.0.1' -v --readable=true ./rebar3 proper -d test/props - uses: actions/upload-artifact@v3 if: failure() diff --git a/apps/emqx/integration_test/.gitkeep b/apps/emqx/integration_test/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/apps/emqx/rebar.config b/apps/emqx/rebar.config index 355f005a8..730155805 100644 --- a/apps/emqx/rebar.config +++ b/apps/emqx/rebar.config @@ -41,6 +41,16 @@ {extra_src_dirs, [{"etc", [recursive]}]}. {profiles, [ {test, [ + {deps, [ + {meck, "0.9.2"}, + {proper, "1.4.0"}, + {bbmustache, "1.10.0"}, + {emqtt, {git, "https://github.com/emqx/emqtt", {tag, "1.8.6"}}} + ]}, + {extra_src_dirs, [{"test", [recursive]}, + {"integration_test", [recursive]}]} + ]}, + {standalone_test, [ {deps, [ {meck, "0.9.2"}, {proper, "1.4.0"},