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
alexblokh2y 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
rushil1o1OP2y 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
rushil1o1OP2y ago
rushil1o1
rushil1o1OP2y ago
further context: SSHing into the action shows that the migration never went through -
alexblokh
alexblokh2y 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
Want results from more Discord servers?
Add your server