From 173a4d8feaca14e7fb8e55ed5aba73fd7926ad94 Mon Sep 17 00:00:00 2001 From: Zaiming Shi Date: Thu, 11 Mar 2021 15:11:39 +0100 Subject: [PATCH] chore(build): Do not use test profile dedicated plugins --- rebar.config.erl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rebar.config.erl b/rebar.config.erl index ceef906b7..7fb892124 100644 --- a/rebar.config.erl +++ b/rebar.config.erl @@ -70,7 +70,10 @@ project_app_dirs() -> plugins() -> [ {relup_helper,{git,"https://github.com/emqx/relup_helper", {branch,"master"}}}, {er_coap_client, {git, "https://github.com/emqx/er_coap_client", {tag, "v1.0"}}} - ]. + ] + %% test plugins are concatenated to default profile plugins + %% otherwise rebar3 test profile runs are super slow + ++ test_plugins(). test_plugins() -> [ rebar3_proper, @@ -119,7 +122,6 @@ profiles() -> , {check, [ {erl_opts, test_compile_opts()} ]} , {test, [ {deps, test_deps()} - , {plugins, test_plugins()} , {erl_opts, test_compile_opts() ++ erl_opts_i()} , {extra_src_dirs, [{"test", [{recursive,true}]}]} ]}