auth
This commit is contained in:
parent
5ae8d02366
commit
bd1897ef9f
1 changed files with 4 additions and 3 deletions
7
.github/workflows/tests.yml
vendored
7
.github/workflows/tests.yml
vendored
|
@ -30,9 +30,10 @@ jobs:
|
||||||
if [[ "${{ matrix.database }}" == "pgsql" ]]; then
|
if [[ "${{ matrix.database }}" == "pgsql" ]]; then
|
||||||
sudo apt-get install -y postgresql postgresql-client ;
|
sudo apt-get install -y postgresql postgresql-client ;
|
||||||
psql --version ;
|
psql --version ;
|
||||||
psql -c "SELECT set_config('log_statement', 'all', false);" -U postgres ;
|
sudo -u postgres psql -c "SELECT set_config('log_statement', 'all', false);" -U postgres ;
|
||||||
psql -c "CREATE DATABASE shimmie;" -U postgres ;
|
sudo -u postgres psql -c "CREATE USER shimmie WITH PASSWORD 'shimmie';" -U postgres ;
|
||||||
echo '<?php define("DATABASE_DSN", "pgsql:user=postgres;password=;host=;dbname=shimmie");' > data/config/auto_install.conf.php ;
|
sudo -u postgres psql -c "CREATE DATABASE shimmie WITH OWNER shimmie;" -U postgres ;
|
||||||
|
echo '<?php define("DATABASE_DSN", "pgsql:user=shimmie;password=shimmie;host=;dbname=shimmie");' > data/config/auto_install.conf.php ;
|
||||||
fi
|
fi
|
||||||
if [[ "${{ matrix.database }}" == "mysql" ]]; then
|
if [[ "${{ matrix.database }}" == "mysql" ]]; then
|
||||||
mysql --version ;
|
mysql --version ;
|
||||||
|
|
Reference in a new issue