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