Compare commits
1 commit
ac8dd25eb8
...
07fd2df09b
| Author | SHA1 | Date | |
|---|---|---|---|
| 07fd2df09b |
1 changed files with 2 additions and 2 deletions
|
|
@ -25,13 +25,13 @@ steps:
|
||||||
# Check formatting
|
# Check formatting
|
||||||
- mix format --check-formatted
|
- mix format --check-formatted
|
||||||
# Wait for postgres to become available
|
# Wait for postgres to become available
|
||||||
- |
|
- |
|
||||||
for i in {1..20}; do
|
for i in {1..20}; do
|
||||||
pg_isready -h postgres -p $DATABASE_PORT && break
|
pg_isready -h postgres -p $DATABASE_PORT && break
|
||||||
sleep 2
|
sleep 2
|
||||||
done
|
done
|
||||||
echo "Postgres did not become available, aborting"
|
echo "Postgres did not become available, aborting"
|
||||||
exit 1
|
exit 1
|
||||||
done
|
done
|
||||||
# Run tests
|
# Run tests
|
||||||
- mix test
|
- mix test
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue