fix: Explicitly compile dependencies in CI

This commit is contained in:
Robert Prehn 2021-08-04 22:05:13 -05:00
parent 1333be352f
commit 8a9a924ea4
3 changed files with 3 additions and 1 deletions

View file

@ -55,6 +55,7 @@ credo:
- mix local.hex --force
- mix local.rebar --force
- mix deps.get
- mix deps.compile
- mix credo --all
stylelint:

View file

@ -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

View file

@ -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