rename mix test alias to mix test.all
This commit is contained in:
parent
db4b3fab24
commit
e3ff04ced3
@ -29,7 +29,7 @@ steps:
|
|||||||
- npm --prefix ./assets ci --progress=false --no-audit --loglevel=error
|
- npm --prefix ./assets ci --progress=false --no-audit --loglevel=error
|
||||||
- npm run --prefix ./assets deploy
|
- npm run --prefix ./assets deploy
|
||||||
- mix do phx.digest, gettext.extract
|
- mix do phx.digest, gettext.extract
|
||||||
- mix test
|
- mix test.all
|
||||||
|
|
||||||
- name: build and publish stable
|
- name: build and publish stable
|
||||||
image: thegeeklab/drone-docker-buildx
|
image: thegeeklab/drone-docker-buildx
|
||||||
|
4
mix.exs
4
mix.exs
@ -13,7 +13,7 @@ defmodule Cannery.MixProject do
|
|||||||
deps: deps(),
|
deps: deps(),
|
||||||
dialyzer: [plt_add_apps: [:ex_unit]],
|
dialyzer: [plt_add_apps: [:ex_unit]],
|
||||||
consolidate_protocols: Mix.env() not in [:dev, :test],
|
consolidate_protocols: Mix.env() not in [:dev, :test],
|
||||||
preferred_cli_env: [test: :test],
|
preferred_cli_env: [test: :test, "test.all": :test],
|
||||||
# ExDoc
|
# ExDoc
|
||||||
name: "Cannery",
|
name: "Cannery",
|
||||||
source_url: "https://gitea.bubbletea.dev/shibao/cannery",
|
source_url: "https://gitea.bubbletea.dev/shibao/cannery",
|
||||||
@ -92,7 +92,7 @@ defmodule Cannery.MixProject do
|
|||||||
"gettext.extract --merge",
|
"gettext.extract --merge",
|
||||||
"gettext.merge --no-fuzzy priv/gettext"
|
"gettext.merge --no-fuzzy priv/gettext"
|
||||||
],
|
],
|
||||||
test: [
|
"test.all": [
|
||||||
"cmd npm run test --prefix assets",
|
"cmd npm run test --prefix assets",
|
||||||
"dialyzer",
|
"dialyzer",
|
||||||
"credo --strict",
|
"credo --strict",
|
||||||
|
Loading…
Reference in New Issue
Block a user