From e3ff04ced34ac2e4e6613ee53602090815e00eea Mon Sep 17 00:00:00 2001 From: shibao Date: Wed, 9 Nov 2022 23:33:41 -0500 Subject: [PATCH] rename mix test alias to mix test.all --- .drone.yml | 2 +- mix.exs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index de997860..968b4612 100644 --- a/.drone.yml +++ b/.drone.yml @@ -29,7 +29,7 @@ steps: - npm --prefix ./assets ci --progress=false --no-audit --loglevel=error - npm run --prefix ./assets deploy - mix do phx.digest, gettext.extract - - mix test + - mix test.all - name: build and publish stable image: thegeeklab/drone-docker-buildx diff --git a/mix.exs b/mix.exs index aca4725f..6ead348f 100644 --- a/mix.exs +++ b/mix.exs @@ -13,7 +13,7 @@ defmodule Cannery.MixProject do deps: deps(), dialyzer: [plt_add_apps: [:ex_unit]], consolidate_protocols: Mix.env() not in [:dev, :test], - preferred_cli_env: [test: :test], + preferred_cli_env: [test: :test, "test.all": :test], # ExDoc name: "Cannery", source_url: "https://gitea.bubbletea.dev/shibao/cannery", @@ -92,7 +92,7 @@ defmodule Cannery.MixProject do "gettext.extract --merge", "gettext.merge --no-fuzzy priv/gettext" ], - test: [ + "test.all": [ "cmd npm run test --prefix assets", "dialyzer", "credo --strict",