I'm trying to run Cypress on gitlab CI.
Everything works as expected, but one little thing.. my DB initialization script (which runs after every test) won't work. This problem fails my tests, as well as the CI job.
After some thinking, I've realized that the setup.sh script contains psql command which connects to db and needs postgres
(on local machine the tests run successfully since I do have postgres installed locally).
I'm using cypress_included:3.8.0 image which doesn't contain postgres. Any ideas how to solve the issue? is there any workaround? should I manually try to install it myself? (if so, it would be nice to see an example)
Thanks!