Regarding Github Actions, do instances persist? (i.e MySQL) #26129
-
Hello! I’ve not yet tried to do this, but after taking a look at Github Actions, I wanted to mimic what we do currently in CircleCI. I want to start a docker image (MySQL) and then run my application, which will run queries and tests on the MySQL instance. On CircleCI though, we also have to wait for our MySQL instance to be ready and willing to accept connections to the database before we can run our tests. Is this possible on Actions? Could I create an action to launch a MySQL instance and then refer back to it? Thanks and sorry if I misunderstood anything! Edit: if someone could provide an example… that would be most amazing!! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @theaxzim, Thanks a lot for being here! Unfortunately, It wouldn’t persist across Actions. You can create an external database using something like Heroku and use that though. Their free tier should be generous enough. I hope that helps! |
Beta Was this translation helpful? Give feedback.
Hey @theaxzim,
Thanks a lot for being here! Unfortunately, It wouldn’t persist across Actions. You can create an external database using something like Heroku and use that though. Their free tier should be generous enough. I hope that helps!