I have been migrating some tests to use github actions from Drone.
Locally we use
docker-compose to run the app and tests.
There is one annoying difference. The networking setup is different for services. In
docker-compose if you have a postgres service it has the network name of postgres. In
gha services are all found at
This makes working across them a choice of either having a host of environment variables that you need to set in each case or having an entire config environment. Having fought with some environment variables for a while I found the distinct configs to be much cleaner. Env variables don’t propagate well through nested processes.