Migrations not working on github actions

Any suggestions to debug this on actions? Is it possible that the database is not created?
5 Replies
alexblokh
alexblokh16mo ago
well, you'll need to shine some light on what exactly are you doing in CI, cause your stacktrace is not sufficient at all I see that you have segmentation fault, but not sure what is it related to
rushil1o1
rushil1o116mo ago
In the GH action, as a CLI command, we're basically running migrations through a simple test in vitest - just calls the drizzle migrate function --- curious how do you guys run migrations through CLI?
rushil1o1
rushil1o116mo ago
rushil1o1
rushil1o116mo ago
further context: SSHing into the action shows that the migration never went through -
alexblokh
alexblokh16mo ago
if you run that SQL command manually in CI it works? I mean it's first time I see problems like that and what our migrator does - just runs the SQL on the database connection so it does seem like an environment problem, not migrator