Compare commits

..

1 commit

Author SHA1 Message Date
07fd2df09b
Set up basic CI
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone/pr Build encountered an error
2025-04-21 13:48:21 +02:00

View file

@ -24,5 +24,14 @@ steps:
- mix compile --warnings-as-errors
# 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
# Run tests
- mix test