File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -41,10 +41,11 @@ jobs:
4141 pip install -r tests/test-requirements.txt
4242 - name : Setup postgres
4343 run : |
44- psql -c 'CREATE DATABASE piccolo;' -U postgres
45- psql -c "CREATE USER piccolo PASSWORD 'piccolo';" -U postgres
46- psql -c "GRANT ALL PRIVILEGES ON DATABASE piccolo TO piccolo;" -U postgres
47- psql -c "CREATE EXTENSION IF NOT EXISTS \"uuid-ossp\";" -d piccolo -U postgres
44+ export PGPASSWORD=postgres
45+ psql -h localhost -c 'CREATE DATABASE piccolo;' -U postgres
46+ psql -h localhost -c "CREATE USER piccolo PASSWORD 'piccolo';" -U postgres
47+ psql -h localhost -c "GRANT ALL PRIVILEGES ON DATABASE piccolo TO piccolo;" -U postgres
48+ psql -h localhost -c "CREATE EXTENSION IF NOT EXISTS \"uuid-ossp\";" -d piccolo -U postgres
4849
4950 - name : Test with pytest, Postgres
5051 run : cd tests && ./test-postgres.sh
You can’t perform that action at this time.
0 commit comments