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
|
- uses: actions/checkout@v2
|
||||||
- name: Install pre-requisites
|
- name: Install pre-requisites
|
||||||
# This skips updating brew when installing a package
|
# This skips updating brew when installing a package
|
||||||
env: HOMEBREW_NO_AUTO_UPDATE=1
|
env: HOMEBREW_NO_AUTO_UPDATE=1
|
||||||
run: |
|
run: |
|
||||||
brew install postgresql@13
|
brew install postgresql@13
|
||||||
brew services start postgresql
|
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}
|
CIBW_REPAIR_WHEEL_COMMAND: delocate-listdeps {wheel} && delocate-wheel --require-archs {delocate_archs} -w repaired_wheels {wheel}
|
||||||
# This allows substitution within setup.py
|
# This allows substitution within setup.py
|
||||||
PACKAGE_NAME: psycopg2-binary
|
PACKAGE_NAME: psycopg2-binary
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
ls -l
|
ls -l
|
||||||
ls -l dist
|
ls -l dist
|
||||||
|
|
|
@ -8,8 +8,8 @@
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
dir="$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
|
||||||
prjdir="$(cd "${dir}/../.." && pwd)"
|
prjdir="$( cd "${dir}/../.." && pwd )"
|
||||||
|
|
||||||
brew install gnu-sed postgresql@13
|
brew install gnu-sed postgresql@13
|
||||||
|
|
||||||
|
@ -17,13 +17,13 @@ brew install gnu-sed postgresql@13
|
||||||
brew services start postgresql
|
brew services start postgresql
|
||||||
|
|
||||||
for i in $(seq 10 -1 0); do
|
for i in $(seq 10 -1 0); do
|
||||||
eval pg_isready && break
|
eval pg_isready && break
|
||||||
if [ $i == 0 ]; then
|
if [ $i == 0 ]; then
|
||||||
echo "PostgreSQL service not ready, giving up"
|
echo "PostgreSQL service not ready, giving up"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
echo "PostgreSQL service not ready, waiting a bit, attempts left: $i"
|
echo "PostgreSQL service not ready, waiting a bit, attempts left: $i"
|
||||||
sleep 5
|
sleep 5
|
||||||
done
|
done
|
||||||
|
|
||||||
# Find psycopg version
|
# Find psycopg version
|
||||||
|
|
Loading…
Reference in New Issue
Block a user