build: only run ecto create & migrate & tz_world update on prepare_test task, not main test one

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2023-11-15 16:36:23 +01:00
parent e051df1ab3
commit 8d11073965
3 changed files with 6 additions and 3 deletions

View File

@@ -258,10 +258,12 @@ defmodule Mobilizon.Mixfile do
"ecto.drop",
"ecto.setup"
],
test: [
prepare_test: [
"ecto.create",
"ecto.migrate",
"tz_world.update",
"tz_world.update"
],
test: [
&run_test/1
],
"phx.deps_migrate_serve": [