Compare commits
1 commit
a8504a7fd6
...
5f52bd5af9
| Author | SHA1 | Date | |
|---|---|---|---|
| 5f52bd5af9 |
1 changed files with 7 additions and 8 deletions
15
.drone.yml
15
.drone.yml
|
|
@ -25,13 +25,12 @@ 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
|
||||||
# TODO: pg_isready is not installed in the elixir image
|
- |
|
||||||
# - |
|
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
|
|
||||||
# Run tests
|
# Run tests
|
||||||
- mix test
|
- mix test
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue