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.
- Spin up containers
- Run migrations
- 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: