Fix CI: remove unused aliases, run mix format, install root yarn deps
Build, Lint, and Test / Build, Lint, and Test (push) Failing after 1m21s

- Remove unused aliases that caused warnings-as-errors in EX_CHECK mode
- Run mix format to fix formatter check
- Add root-level yarn install to CI for prettier (used by mix check)
- All 1007 tests pass, zero warnings
This commit is contained in:
2026-07-04 09:48:47 +00:00
parent a891cb8902
commit 5647e5642a
14 changed files with 20 additions and 18 deletions
+1 -1
View File
@@ -62,4 +62,4 @@ defmodule PinchflatWeb.ApiAuthPlugTest do
assert %{status: 200} = conn
end
end
end
end
@@ -77,4 +77,4 @@ defmodule PinchflatWeb.Api.V1.ApiMediaItemControllerTest do
assert [_] = all_enqueued(worker: MediaDownloadWorker)
end
end
end
end
@@ -28,7 +28,10 @@ defmodule PinchflatWeb.Api.V1.ApiMediaProfileControllerTest do
describe "POST /api/v1/media_profiles" do
test "creates a media profile and returns 201", %{conn: conn} do
conn = post(conn, ~p"/api/v1/media_profiles", media_profile: %{name: "Test Profile", output_path_template: "{{title}}.{{ext}}"})
conn =
post(conn, ~p"/api/v1/media_profiles",
media_profile: %{name: "Test Profile", output_path_template: "{{title}}.{{ext}}"}
)
assert %{status: 201} = conn
assert json_response(conn, 201)["data"]["name"] == "Test Profile"
@@ -40,4 +43,4 @@ defmodule PinchflatWeb.Api.V1.ApiMediaProfileControllerTest do
assert %{status: 422} = conn
end
end
end
end
@@ -42,4 +42,4 @@ defmodule PinchflatWeb.Api.V1.ApiSettingControllerTest do
assert data["environment"] != nil
end
end
end
end
@@ -184,4 +184,4 @@ defmodule PinchflatWeb.Api.V1.ApiSourceControllerTest do
playlist_title: "some playlist name"
})}
end
end
end
@@ -45,4 +45,4 @@ defmodule PinchflatWeb.Api.V1.ApiTaskControllerTest do
assert json_response(conn, 200)["data"]["id"] == task.id
end
end
end
end