Try again

This commit is contained in:
Armen Zambrano G 2021-09-09 11:30:21 -04:00
parent eba27a50b5
commit 9fee3079b5
2 changed files with 25 additions and 22 deletions

View File

@ -57,6 +57,8 @@ cp ${wheeldir}/*.whl ${distdir}
# kill the libpq to make sure tests don't depend on it
mv "$LIBPQ" "${LIBPQ}-bye"
# XXX: Move this code into a test script
if [[ $(uname -m) != 'arm64' ]]; then
# Install and test the built wheel
pip install ${PACKAGE_NAME:-psycopg2} --no-index -f "$distdir"
@ -72,6 +74,7 @@ python -c "import psycopg2; print(psycopg2.extensions.libpq_version())"
# fi
python -c "import tests; tests.unittest.main(defaultTest='tests.test_suite')"
fi
# just because I'm a boy scout
mv "${LIBPQ}-bye" "$LIBPQ"