Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Ground Controller Lvl 1
Message 1 of 2

Regarding Github Actions, do instances persist? (i.e MySQL)

Solved! Go to Solution.

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

1 Reply
Solution
Community Manager
Message 2 of 2

Re: Regarding Github Actions, do instances persist? (i.e MySQL)

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!


Best,
AndreaG

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!