diff --git a/.drone.yml b/.drone.yml index 456cf50..02bafbd 100644 --- a/.drone.yml +++ b/.drone.yml @@ -25,13 +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 - done + done # Run tests - mix test