fix: gen-migrations workflow
Some checks failed
gen-migrations / gen-migrations (push) Failing after 30s

This commit is contained in:
Orion Kindel 2023-07-19 19:28:33 -05:00
parent c0d37ca7a1
commit 3234a353f1
Signed by untrusted user who does not match committer: orion
GPG Key ID: 6D4165AE4C928719

View File

@ -61,5 +61,12 @@ cd "./$base_or_head"
docker compose up -d "$base_or_head" 1>/dev/null
isready
initdb || docker compose logs db
ls ./schema/ | xargs -I{} bash -c "set -e; $(declare -f query_file); query_file \"$(db dnim)\" ./schema/{}" || docker compose logs db
initdb || (
cd "./$base_or_head"
docker compose logs "$base_or_head"
)
ls ./schema/ | xargs -I{} bash -c "set -e; $(declare -f query_file); query_file \"$(db dnim)\" ./schema/{}" || \
(
cd "./$base_or_head"
docker compose logs "$base_or_head"
)