Formatting

This commit is contained in:
Armen Zambrano G 2021-09-09 09:25:38 -04:00
parent 6d99aa2f29
commit ec074269f2
2 changed files with 9 additions and 9 deletions

View File

@ -148,7 +148,7 @@ jobs:
- uses: actions/checkout@v2
- name: Install pre-requisites
# This skips updating brew when installing a package
env: HOMEBREW_NO_AUTO_UPDATE=1
env: HOMEBREW_NO_AUTO_UPDATE=1
run: |
brew install postgresql@13
brew services start postgresql
@ -162,7 +162,7 @@ jobs:
CIBW_REPAIR_WHEEL_COMMAND: delocate-listdeps {wheel} && delocate-wheel --require-archs {delocate_archs} -w repaired_wheels {wheel}
# This allows substitution within setup.py
PACKAGE_NAME: psycopg2-binary
- run: |
ls -l
ls -l dist

View File

@ -8,8 +8,8 @@
set -euo pipefail
set -x
dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
prjdir="$(cd "${dir}/../.." && pwd)"
dir="$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
prjdir="$( cd "${dir}/../.." && pwd )"
brew install gnu-sed postgresql@13
@ -17,13 +17,13 @@ brew install gnu-sed postgresql@13
brew services start postgresql
for i in $(seq 10 -1 0); do
eval pg_isready && break
if [ $i == 0 ]; then
eval pg_isready && break
if [ $i == 0 ]; then
echo "PostgreSQL service not ready, giving up"
exit 1
fi
echo "PostgreSQL service not ready, waiting a bit, attempts left: $i"
sleep 5
fi
echo "PostgreSQL service not ready, waiting a bit, attempts left: $i"
sleep 5
done
# Find psycopg version