Question with GitHub Actions and Elixir testing


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 ?

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.