TST: add PGPORT env var, rewrite setup_postgres.sh to scripts dir (#1932)

This commit is contained in:
Mike Taves
2021-05-12 09:37:13 +02:00
committed by GitHub
parent 85e066a5c7
commit f5f040d7c8
3 changed files with 35 additions and 22 deletions
+2 -1
View File
@@ -110,10 +110,11 @@ jobs:
PGUSER: postgres
PGPASSWORD: postgres
PGHOST: "127.0.0.1"
PGPORT: 5432
run: |
source activate test
conda install postgis -c conda-forge
source ci/envs/setup_postgres.sh
sh ci/scripts/setup_postgres.sh
pytest -v -r s --color=yes --cov=geopandas --cov-append --cov-report term-missing --cov-report xml geopandas/io/tests/test_sql.py | tee /dev/stderr | if grep SKIPPED >/dev/null;then echo "TESTS SKIPPED, FAILING" && exit 1;fi
- name: Test docstrings