Integration tests with Go and Postgres

Hi,

I want to run my integration tests in the CI.
They way they are set up in the dev env, is with docker-compose. I spin up a postgres container along side my go app. I use golang-migrate for the migrations.

So, for tests.

  1. Spin up containers
  2. Run migrations
  3. Run tests

Now, what’s the easiest way to make the tests in the CI?
Where should I install the migration tool that is needed?
Should I use executor:machine and recreate the local env?

Here is my current config for reference:

Hi @Taaanos! I think this config walkthrough has a lot of what you need, but if it doesn’t answer your questions, please let me know so we can dig deeper!