This commit is contained in:
Mayel de Borniol 2023-11-06 18:51:18 +00:00
parent 7c9adfb9c3
commit 938c827f76
5 changed files with 16 additions and 9 deletions

View file

@ -1,11 +1,12 @@
[
import_deps: [
# :beacon, :beacon_live_admin,
# :beacon, :beacon_live_admin,
:surface,
:phoenix,
:ecto,
:ecto_sql,
:assert_value
:assert_value,
:mneme
],
plugins: [Phoenix.LiveView.HTMLFormatter, Surface.Formatter.Plugin],

View file

@ -3,6 +3,6 @@
// For a full list of overridable settings, and general information on folder-specific settings,
// see the documentation: https://docs.zed.dev/configuration/configuring-zed#folder-specific-settings
{
"format_on_save": "on",
"format_on_save": "language_server",
"formatter": "language_server"
}

View file

@ -63,6 +63,7 @@ defmodule Bonfire.Umbrella.MixProject do
{:credo, "~> 1.7.0", only: :test, override: true},
# {:bypass, "~> 2.1", only: :test}, # used in furlex
{:assert_value, ">= 0.0.0", only: [:dev, :test]},
{:mneme, ">= 0.0.0", only: [:dev, :test]},
# Benchmarking utilities
{:benchee, "~> 1.1", only: [:dev, :test]},

View file

@ -173,6 +173,7 @@
"mint": {:hex, :mint, "1.5.1", "8db5239e56738552d85af398798c80648db0e90f343c8469f6c6d8898944fb6f", [:mix], [{:castore, "~> 0.1.0 or ~> 1.0", [hex: :castore, repo: "hexpm", optional: true]}, {:hpax, "~> 0.1.1", [hex: :hpax, repo: "hexpm", optional: false]}], "hexpm", "4a63e1e76a7c3956abd2c72f370a0d0aecddc3976dea5c27eccbecfa5e7d5b1e"},
"mix_test_interactive": {:hex, :mix_test_interactive, "1.2.2", "72f72faa7007d6cb9634ee5f6989b25ee5b194c5729e5e45a962e68b2e217374", [:mix], [{:file_system, "~> 0.2", [hex: :file_system, repo: "hexpm", optional: false]}, {:typed_struct, "~> 0.3.0", [hex: :typed_struct, repo: "hexpm", optional: false]}], "hexpm", "f49f2a70d00aee93418506dde4d95387fe56bdba501ef9d2aa06ea07d4823508"},
"mix_test_watch": {:hex, :mix_test_watch, "1.1.1", "eee6fc570d77ad6851c7bc08de420a47fd1e449ef5ccfa6a77ef68b72e7e51ad", [:mix], [{:file_system, "~> 0.2.1 or ~> 0.3", [hex: :file_system, repo: "hexpm", optional: false]}], "hexpm", "f82262b54dee533467021723892e15c3267349849f1f737526523ecba4e6baae"},
"mneme": {:hex, :mneme, "0.4.3", "a8ad507cf8b40365865a513b117a6058b0591526067a07a99d8d32b148fae492", [:mix], [{:nimble_options, "~> 1.0", [hex: :nimble_options, repo: "hexpm", optional: false]}, {:owl, "~> 0.7.0", [hex: :owl, repo: "hexpm", optional: false]}, {:rewrite, "~> 0.7", [hex: :rewrite, repo: "hexpm", optional: false]}, {:sourceror, "~> 0.12", [hex: :sourceror, repo: "hexpm", optional: false]}], "hexpm", "8976bb191c24a3485fd93f5b58a87e3cf1e638b0756e14c447ddbadcf24fc14a"},
"mochiweb": {:hex, :mochiweb, "3.2.1", "ff287e1ec653a0828f226cd5a009d52be74537dc3fc274b765525a77ce01f8ec", [:rebar3], [], "hexpm", "975466d335403a78cd58186636b8e960e3c84c4d9c1a85eb7fe53b6a5dd54de7"},
"mock": {:hex, :mock, "0.3.8", "7046a306b71db2488ef54395eeb74df0a7f335a7caca4a3d3875d1fc81c884dd", [:mix], [{:meck, "~> 0.9.2", [hex: :meck, repo: "hexpm", optional: false]}], "hexpm", "7fa82364c97617d79bb7d15571193fc0c4fe5afd0c932cef09426b3ee6fe2022"},
"mogrify": {:git, "https://github.com/chaskiq/mogrify.git", "48e237d2332d24ddf5996f78b13d8bc97221b094", [branch: "identify-option"]},
@ -200,6 +201,7 @@
"opentelemetry_telemetry": {:hex, :opentelemetry_telemetry, "1.0.0", "d5982a319e725fcd2305b306b65c18a86afdcf7d96821473cf0649ff88877615", [:mix, :rebar3], [{:opentelemetry_api, "~> 1.0", [hex: :opentelemetry_api, repo: "hexpm", optional: false]}, {:telemetry, "~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}, {:telemetry_registry, "~> 0.3.0", [hex: :telemetry_registry, repo: "hexpm", optional: false]}], "hexpm", "3401d13a1d4b7aa941a77e6b3ec074f0ae77f83b5b2206766ce630123a9291a9"},
"orion": {:hex, :orion, "1.0.3", "a109826467c9b08022794914ee23d40db2bb63859680e9031bdf0b446be1325d", [:mix], [{:dog_sketch, "~> 0.1.2", [hex: :dog_sketch, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}, {:orion_collector, "~> 1.2.0", [hex: :orion_collector, repo: "hexpm", optional: false]}, {:phoenix_live_view, "~> 0.18.16", [hex: :phoenix_live_view, repo: "hexpm", optional: false]}], "hexpm", "f6b08e99340e7f608fe7efdaced1a759fa72f620f79356298bb65ba9740afbdb"},
"orion_collector": {:hex, :orion_collector, "1.2.0", "9041f55532faacadcc4d6259a1eac472fdd6d9ba533ccce9801d62dd72020332", [:mix], [{:dog_sketch, "~> 0.1.2", [hex: :dog_sketch, repo: "hexpm", optional: false]}, {:ex2ms, "~> 1.6", [hex: :ex2ms, repo: "hexpm", optional: false]}], "hexpm", "f6eb4687123c5845da2bb82002babdaf87ccb8ddb3762cde304aa09f24832422"},
"owl": {:hex, :owl, "0.7.0", "4899a1de8f5ba004ff14883f97a4ef97ac46c6395f1da39aa1e27a026443a1b3", [:mix], [], "hexpm", "c4c61de07128fff8fdcefb12722e0420262091296b796f3db4f400a1b3d22e8b"},
"paginator": {:git, "https://github.com/bonfire-networks/paginator", "724fc84986c577695f578a07cba318178c2b0b12", [branch: "main"]},
"pane": {:hex, :pane, "0.4.1", "ca4275b5799066d52c857e7b0deb2feaba409d607419fe54cde056329d247a89", [:mix], [], "hexpm", "27a292ca86f52d4777422930c17fd4a12eaa930d86a6193665c452f94a04ff8a"},
"paper_trail": {:git, "https://github.com/bonfire-networks/paper_trail", "12acb22ff143d204fcecdbd5a3f53f2485fe1308", [branch: "with-pointers"]},

View file

@ -1,13 +1,14 @@
import Bonfire.Common.Config, only: [repo: 0]
ExUnit.configure(
formatters:
[ExUnit.CLIFormatter, ExUnitNotifier] ++
[Bonfire.Common.TestSummary]
formatters: [
ExUnit.CLIFormatter,
ExUnitNotifier,
Bonfire.Common.TestSummary
# Bonfire.UI.Kanban.TestDrivenCoordination
]
)
# ++ [Bonfire.UI.Kanban.TestDrivenCoordination]
# Code.put_compiler_option(:nowarn_unused_vars, true)
ExUnit.start(
@ -19,6 +20,8 @@ ExUnit.start(
capture_log: true
)
Mneme.start()
# Mix.Task.run("ecto.create")
# Mix.Task.run("ecto.migrate")
@ -42,7 +45,7 @@ if chromedriver_path && File.exists?(chromedriver_path),
do: {:ok, _} = Application.ensure_all_started(:wallaby),
else: IO.inspect("Note: Wallaby UI tests will not run because the chromedriver is missing")
# insert fixtures in test instance's repo on startup
# insert fixtures in test instance's repo on startup
if System.get_env("TEST_INSTANCE") == "yes",
do: Bonfire.Common.TestInstanceRepo.apply(&Bonfire.Boundaries.Fixtures.insert/0)