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

Question with GitHub Actions and Elixir testing

Hi! 

 

I want to start to use GitHub Actions, me and my team are evaluating different tools and we want to use GitHub Actions.

 

I found an action for run the test, but I need to have a test database for run it.

 

Is possible to create a postgress database using GitHub Actions, or in this case I need to setup a database in other platform as Heroku ?

1 Reply
Community Manager
Message 2 of 2

Re: Question with GitHub Actions and Elixir testing

Because GitHub Actions is built on top of Docker, you should be able to create a Docker image that contains a PostgreSQL database server and run your tests on top of that. Just be aware that the test database would not persist between runs of the Action.

 

Let us know if you have more questions.