Compare commits

..

1 commit

Author SHA1 Message Date
a8504a7fd6
Set up basic CI
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2025-04-21 14:03:55 +02:00

View file

@ -25,12 +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
- | # TODO: pg_isready is not installed in the elixir image
for i in {1..20}; do # - |
pg_isready -h postgres -p $DATABASE_PORT && break # for i in {1..20}; do
sleep 2 # pg_isready -h postgres -p $DATABASE_PORT && break
done # sleep 2
echo "Postgres did not become available, aborting" # done
exit 1 # echo "Postgres did not become available, aborting"
# exit 1
# Run tests # Run tests
- mix test - mix test