Compare commits
1 commit
b3c74176e4
...
07fd2df09b
| Author | SHA1 | Date | |
|---|---|---|---|
| 07fd2df09b |
1 changed files with 9 additions and 0 deletions
|
|
@ -24,5 +24,14 @@ steps:
|
||||||
- mix compile --warnings-as-errors
|
- mix compile --warnings-as-errors
|
||||||
# Check formatting
|
# Check formatting
|
||||||
- mix format --check-formatted
|
- 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
|
# Run tests
|
||||||
- mix test
|
- mix test
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue