Compare commits
1 commit
7cb4a80f11
...
daf268f7da
| Author | SHA1 | Date | |
|---|---|---|---|
| daf268f7da |
1 changed files with 2 additions and 2 deletions
|
|
@ -40,7 +40,7 @@ steps:
|
||||||
# Wait for postgres to become available
|
# Wait for postgres to become available
|
||||||
- |
|
- |
|
||||||
for i in {1..20}; do
|
for i in {1..20}; do
|
||||||
if pg_isready -h postgres -U postgres; then
|
if pg_isready -h postgres -U postgres -p 5000; then
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
true
|
true
|
||||||
|
|
@ -55,7 +55,7 @@ steps:
|
||||||
environment:
|
environment:
|
||||||
MIX_ENV: test
|
MIX_ENV: test
|
||||||
TEST_POSTGRES_HOST: postgres
|
TEST_POSTGRES_HOST: postgres
|
||||||
TEST_POSTGRES_PORT: 5432
|
TEST_POSTGRES_PORT: 5000
|
||||||
commands:
|
commands:
|
||||||
# Install hex package manager
|
# Install hex package manager
|
||||||
- mix local.hex --force
|
- mix local.hex --force
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue