Hi, I am running into a problem with setting up postgresql for running e2e tests for a mobile application.
I am installing postresql VIA homebrew in my
config.yml file. I receive the following error:
#!/bin/bash --login -eo pipefail pg_ctl -D /usr/local/var/postgresql@11 -l /usr/local/var/postgresql@11/server.log start pg_ctl: directory "/usr/local/var/postgresql@11" does not exist Exited with code exit status 1
I have tried removing the version entirely and using postgresql@12 instead, but the error persists. I checked the homebrew available versions, and I checked the available version for circle ci.
Here is the related code in the config.yml file:
start_postgres: &start_postgres run: name: Start postgresql command: pg_ctl -D /usr/local/var/postgresql@11 -l /usr/local/var/postgresql@11/server.log start homebrews: &homebrews run: name: Install homebrew dependencies command: | brew update HOMEBREW_NO_AUTO_UPDATE=1 brew bundle echo 'export PATH="/usr/local/opt/postgresql@11/bin:$PATH"' >> ~/.bash_profile source ~/.bash_profile
So far, I found no related issues in my searches. Please let me know if you can direct me in any way!
Just to add: this had been working previously.