chore: pin rebar plugins and test deps

This commit is contained in:
Zaiming Shi 2021-10-15 16:46:49 +02:00
parent 68d91e770b
commit 71a11834ad
2 changed files with 8 additions and 8 deletions

View File

@ -23,13 +23,13 @@
, {snabbkaffe, {git, "https://github.com/kafka4beam/snabbkaffe.git", {tag, "0.14.1"}}}
]}.
{plugins, [rebar3_proper]}.
{plugins, [{rebar3_proper, "0.12.1"}]}.
{extra_src_dirs, [{"etc", [recursive]}]}.
{profiles, [
{test,
[{deps,
[ meck
, proper
[ {meck, "0.9.2"}
, {proper, "1.4.0"}
, {bbmustache,"1.10.0"}
, {emqtt, {git, "https://github.com/emqx/emqtt", {tag, "1.4.3"}}}
]},

View File

@ -114,21 +114,21 @@ plugins(HasElixir) ->
%% emqx main project does not require port-compiler
%% pin at root level for deterministic
, {pc, {git, "https://github.com/emqx/port_compiler.git", {tag, "v1.11.1"}}}
| [ rebar_mix || HasElixir ]
| [ {rebar_mix, "0.5.1"} || HasElixir ]
]
%% test plugins are concatenated to default profile plugins
%% otherwise rebar3 test profile runs are super slow
++ test_plugins().
test_plugins() ->
[ rebar3_proper,
{coveralls, {git, "https://github.com/emqx/coveralls-erl", {branch, "fix-git-info"}}}
[ {rebar3_proper, "0.12.1"}
, {coveralls, {git, "https://github.com/emqx/coveralls-erl", {tag, "v2.2.0-emqx-1"}}}
].
test_deps() ->
[ {bbmustache, "1.10.0"}
, meck
, proper
, {meck, "0.9.2"}
, {proper, "1.4.0"}
].
common_compile_opts() ->