mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-07-29 09:29:46 +03:00
Formatting
This commit is contained in:
parent
6d99aa2f29
commit
ec074269f2
4
.github/workflows/packages.yml
vendored
4
.github/workflows/packages.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user