Merge pull request #734 from shish/pg-action

Fix postgres testing
This commit is contained in:
Shish 2020-06-22 17:27:18 +01:00 committed by GitHub
commit 05d4a3a592
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ jobs:
run: |
mkdir -p data/config
if [[ "${{ matrix.database }}" == "pgsql" ]]; then
sudo apt update && sudo apt-get install -y postgresql postgresql-client ;
sudo systemctl start postgresql ;
psql --version ;
sudo -u postgres psql -c "SELECT set_config('log_statement', 'all', false);" -U postgres ;
sudo -u postgres psql -c "CREATE USER shimmie WITH PASSWORD 'shimmie';" -U postgres ;