forked from shibao/cannery
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 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
|
||||
|
4
mix.exs
4
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",
|
||||
|
Loading…
Reference in New Issue
Block a user