From 2a1b07b58dcdfb568c19ff11df4a6c9307656e2e Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Tue, 21 Apr 2026 16:17:15 +0100 Subject: [PATCH] Exclude more modules from coverage --- mix.exs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mix.exs b/mix.exs index 82204f64..35f7cc42 100644 --- a/mix.exs +++ b/mix.exs @@ -32,8 +32,9 @@ defmodule MusicLibrary.MixProject do # delegate call is untestable. # - Ecto.Repo shells (boilerplate plus platform-exclusive `extension_path/1` # branches that cannot all execute on a single host). - # - Phoenix generator output (ErrorHTML, the MusicLibraryWeb `use` entrypoint) - # with no application behaviour. + # - Phoenix generator output (ErrorHTML, ErrorJSON, the MusicLibraryWeb `use` + # entrypoint) with no application behaviour. + # - The SessionHTML module housing session templates. # - Telemetry instrumentation whose write paths are only reachable from real # `:telemetry.execute/3` events emitted by external libraries. # - Vendored `SqliteVec.*` library code under `lib/sqlite_vec/`. @@ -52,6 +53,8 @@ defmodule MusicLibrary.MixProject do MusicLibrary.Worker.BackfillScrobbledTracks, MusicLibraryWeb, MusicLibraryWeb.ErrorHTML, + MusicLibraryWeb.ErrorJSON, + MusicLibraryWeb.SessionHTML, MusicLibraryWeb.Telemetry, MusicLibraryWeb.Telemetry.Storage, Req.RateLimiter.SystemClock,