Compare commits

..

1 commit

Author SHA1 Message Date
5f52bd5af9
Set up basic CI
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2025-04-21 13:55:40 +02:00

View file

@ -25,13 +25,12 @@ steps:
# Check formatting
- mix format --check-formatted
# 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
# sleep 2
# done
# echo "Postgres did not become available, aborting"
# exit 1
- |
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