Added --warnings-as-errors to mix test but only when called by ex_check

This commit is contained in:
Kieran Eglin
2024-12-13 12:41:06 -08:00
parent 023f449dbe
commit 0be469dcb0
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -17,7 +17,8 @@
{:formatter, env: %{"MIX_ENV" => "test"}},
{:sobelow, "mix sobelow --config"},
{:prettier_formatting, "yarn run lint:check", fix: "yarn run lint:fix"},
{:npm_test, false}
{:npm_test, false},
{:ex_unit, env: %{"MIX_ENV" => "test", "EX_CHECK" => "1"}}
## curated tools may be disabled (e.g. the check for compilation warnings)
# {:compiler, false},