Skip to content

Commit

Permalink
Cleanup rebar3 / mix Test Config (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
maennchen authored Sep 13, 2023
1 parent 2d78a4d commit ac1ff0c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ defmodule Oidcc.Mixfile do
{:telemetry, "~> 1.2"},
{:telemetry_registry, "~> 0.3.1"},
{:jose, "~> 1.11"},
{:jsx, "~> 3.1"},
{:jsx, "~> 3.1", only: :test},
{:mock, "~> 0.3.8", only: :test},
{:ex_doc, "~> 0.29.4", only: :dev, runtime: false},
{:credo, "~> 1.7", only: :dev, runtime: false},
Expand Down
27 changes: 15 additions & 12 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
{deps, [
{telemetry, "~> 1.2"},
{telemetry_registry, "~> 0.3.1"},
{jose, "~> 1.11"},
{meck, "~> 0.9.2"}
{jose, "~> 1.11"}
]}.

{project_plugins, [
Expand All @@ -28,18 +27,22 @@
{dir, "_build/dev/lib/oidcc/doc"}
]}.

{profiles, [
{test, [
{deps, [
{meck, "~> 0.9.2"},
{jsx, "~> 3.1"}
]},
{cover_enabled, true},
{cover_export_enabled, true},
{coveralls_coverdata, "_build/test/cover/*.coverdata"},
{coveralls_service_name, "github"},
{cover_opts, [verbose]}
]}
]}.

{hank, [{ignore, [{"test/**/*_SUITE.erl", [unnecessary_function_arguments]}, "include/**/*.hrl"]}]}.

{erlfmt, [write]}.

{cover_enabled, true}.

{cover_export_enabled, true}.

{coveralls_coverdata, "_build/test/cover/*.coverdata"}.

{coveralls_service_name, "github"}.

{cover_opts, [verbose]}.

{shell, [{apps, [oidcc]}]}.

0 comments on commit ac1ff0c

Please sign in to comment.