More than once I stumble upon this during testing. Previously a local test required to setup the local development environment and passing a bunch of environment variables prior to running go test ./....
Now we allow for environment variables to be passed, but also default back to variables we used across tests and pipelines as default, making testing a little more comfy.
RUN_POSTGIS_TESTS=yes \
RUN_REDIS_TESTS=yes \
go test ./... -v
More than once I stumble upon this during testing. Previously a local test required to setup the local development environment and passing a bunch of environment variables prior to running
go test ./...
.Now we allow for environment variables to be passed, but also default back to variables we used across tests and pipelines as default, making testing a little more comfy.
wdyt?