From 8a9a924ea4168deea54f392816a55ccafd94e067 Mon Sep 17 00:00:00 2001 From: Robert Prehn <3952444+prehnRA@users.noreply.github.com> Date: Wed, 4 Aug 2021 22:05:13 -0500 Subject: [PATCH] fix: Explicitly compile dependencies in CI --- .gitlab-ci.yml | 1 + .../test/content_web/controllers/comment_controller_test.exs | 2 +- script/update | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9afe89a9..86b8496f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -55,6 +55,7 @@ credo: - mix local.hex --force - mix local.rebar --force - mix deps.get + - mix deps.compile - mix credo --all stylelint: diff --git a/apps/content/test/content_web/controllers/comment_controller_test.exs b/apps/content/test/content_web/controllers/comment_controller_test.exs index 9190db0a..ffcaf219 100644 --- a/apps/content/test/content_web/controllers/comment_controller_test.exs +++ b/apps/content/test/content_web/controllers/comment_controller_test.exs @@ -24,7 +24,7 @@ defmodule Legendary.Content.CommentControllerTest do post = fixture(:post) conn = post conn, Routes.comment_path(conn, :create), comment: @create_attrs - assert %{id: id} = redirected_params(conn) + assert %{id: _} = redirected_params(conn) assert redirected_to(conn) == Routes.posts_path(conn, :show, post) end diff --git a/script/update b/script/update index e943af30..21ba0899 100755 --- a/script/update +++ b/script/update @@ -21,6 +21,7 @@ if [ "$FRAMEWORK" != 'git@gitlab.com:mythic-insight/legendary.git' ]; then fi; mix deps.get +mix deps.compile mix npm.install mix ecto.create mix ecto.migrate