Skip to content

Commit

Permalink
Improved ex_check usage
Browse files Browse the repository at this point in the history
  • Loading branch information
kieraneglin committed May 22, 2024
1 parent 0cd6ac7 commit eccb4dd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .check.exs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
tools: [
{:compiler, env: %{"MIX_ENV" => "test"}},
{:formatter, env: %{"MIX_ENV" => "test"}},
{:sobelow, "mix sobelow --config"},
{:sobelow, "mix sobelow --config", env: %{"MIX_ENV" => "test"}},
{:prettier_formatting, "yarn run prettier . --check", fix: "yarn run prettier . --write"},
{:npm_test, false}

Expand Down
15 changes: 8 additions & 7 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ defmodule Pinchflat.MixProject do
deps: deps(),
preferred_cli_env: [
check: :test,
credo: :test
credo: :test,
sobelow: :test
],
test_coverage: [
ignore_modules: [
Expand Down Expand Up @@ -70,12 +71,12 @@ defmodule Pinchflat.MixProject do
{:oban, "~> 2.16"},
{:nimble_parsec, "~> 1.4"},
{:timex, "~> 3.0"},
{:mox, "~> 1.0", only: :test},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:credo_naming, "~> 2.1", only: [:dev, :test], runtime: false},
{:ex_check, "~> 0.14.0", only: [:dev, :test], runtime: false},
{:faker, "~> 0.17", only: :test},
{:sobelow, "~> 0.13", only: [:dev, :test], runtime: false}
{:mox, "~> 1.0", only: [:test]},
{:credo, "~> 1.7", only: [:test], runtime: false},
{:credo_naming, "~> 2.1", only: [:test], runtime: false},
{:ex_check, "~> 0.14.0", only: [:test], runtime: false},
{:faker, "~> 0.17", only: [:test]},
{:sobelow, "~> 0.13", only: [:test], runtime: false}
]
end

Expand Down

0 comments on commit eccb4dd

Please sign in to comment.