From 91a754a75b332165ff71db53aab7a13a6c694b07 Mon Sep 17 00:00:00 2001 From: JasterV <49537445+JasterV@users.noreply.github.com> Date: Sun, 8 Mar 2026 19:06:20 +0100 Subject: [PATCH] fix: update environment --- mix.exs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mix.exs b/mix.exs index 0c718aa..c633cc4 100644 --- a/mix.exs +++ b/mix.exs @@ -41,7 +41,7 @@ defmodule SpazioSolazzo.MixProject do end # Specifies which paths to compile per environment. - defp elixirc_paths(:test), do: ["lib", "test/support"] + defp elixirc_paths(env) when env in [:test, :ci], do: ["lib", "test/support"] defp elixirc_paths(_), do: ["lib"] # Specifies your project dependencies. @@ -57,7 +57,7 @@ defmodule SpazioSolazzo.MixProject do {:ash_state_machine, "~> 0.2"}, {:bandit, "~> 1.5"}, {:bcrypt_elixir, "~> 3.0"}, - {:credo, "~> 1.7", only: [:dev, :test], runtime: false}, + {:credo, "~> 1.7", only: [:dev, :test, :ci], runtime: false}, {:dns_cluster, "~> 0.2.0"}, {:ecto_sql, "~> 3.13"}, {:esbuild, "~> 0.10", runtime: Mix.env() == :dev}, @@ -69,9 +69,9 @@ defmodule SpazioSolazzo.MixProject do app: false, compile: false, depth: 1}, - {:igniter, "~> 0.6", only: [:dev, :test]}, + {:igniter, "~> 0.6", only: [:dev, :test, :ci]}, {:jason, "~> 1.2"}, - {:lazy_html, ">= 0.1.0", only: :test}, + {:lazy_html, ">= 0.1.0", only: [:test, :ci]}, {:live_debugger, "~> 0.5", only: [:dev]}, {:oban, "~> 2.18"}, {:phoenix, "~> 1.8.3"}, @@ -85,7 +85,7 @@ defmodule SpazioSolazzo.MixProject do {:postgrex, ">= 0.0.0"}, {:req, "~> 0.5"}, {:resend, "~> 0.4.0"}, - {:sourceror, "~> 1.8", only: [:dev, :test]}, + {:sourceror, "~> 1.8", only: [:dev, :test, :ci]}, {:swoosh, "~> 1.16"}, {:tailwind, "~> 0.3", runtime: Mix.env() == :dev}, {:telemetry_metrics, "~> 1.0"},