File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,17 +64,20 @@ jobs:
6464 - name : Setup database
6565 env :
6666 RAILS_ENV : test
67- DATABASE_URL : postgresql://postgres:postgres@localhost:5432/prostaff_test
68- REDIS_URL : redis://localhost:6379/0
67+ DATABASE_URL : postgresql://postgres:postgres@127.0.0.1:5432/prostaff_test
68+ REDIS_URL : redis://127.0.0.1:6379/0
69+ PGHOST : 127.0.0.1
70+ PGUSER : postgres
71+ PGPASSWORD : postgres
6972 run : |
7073 bundle exec rails db:create
7174 bundle exec rails db:schema:load
7275
7376 - name : Run RSpec tests
7477 env :
7578 RAILS_ENV : test
76- DATABASE_URL : postgresql://postgres:postgres@localhost :5432/prostaff_test
77- REDIS_URL : redis://localhost :6379/0
79+ DATABASE_URL : postgresql://postgres:postgres@127.0.0.1 :5432/prostaff_test
80+ REDIS_URL : redis://127.0.0.1 :6379/0
7881 COVERAGE : true
7982 run : bundle exec rspec --format documentation
8083
You can’t perform that action at this time.
0 commit comments