Is there a way to check if Github workflows (actions) actually runs migrations?
I am in the process of squashing migrations and ended up feeding the squashed
.sql file generated through
mix ecto.dump to my migration.
When running Github actions, i have a step that does the
mix do ecto.create, ecto.migrate and i see the logs of the migration running however inside of my alias for test i have something like `mix do ecto.drop --quiet, ecto.create --quiet, ecto.migrate – quiet, run priv/repo/seeds.exs" which should bring up a database from scratch and run seeds however when running that command it seems to not migrate correctly as when seeding it is trying to insert into a table that is not there e.g.
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "user.post" does not exist query: INSERT INTO "user"."post" ("id","content","created_at","updated_at") VALUES ($1,$2,$3,$4) (ecto_sql 3.9.1) lib/ecto/adapters/sql.ex:913: Ecto.Adapters.SQL.raise_sql_call_error/1
This is working locally so this im puzzled how this translates onto github actions.
Thanks in advance!