fix(ci): add GRANT on public schema and verbose migrate output
This commit is contained in:
@@ -47,6 +47,7 @@ jobs:
|
||||
sudo pg_ctlcluster $PG_VER main start
|
||||
sudo -u postgres psql -c "CREATE USER test WITH PASSWORD 'test';"
|
||||
sudo -u postgres psql -c "CREATE DATABASE polympr_test OWNER test;"
|
||||
sudo -u postgres psql -d polympr_test -c "GRANT ALL ON SCHEMA public TO test;"
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm install --ignore-scripts && deno install
|
||||
@@ -58,7 +59,7 @@ jobs:
|
||||
POSTGRES_USER: test
|
||||
POSTGRES_PASS: test
|
||||
POSTGRES_DB: polympr_test
|
||||
run: deno task migrate
|
||||
run: node_modules/.bin/drizzle-kit migrate --verbose 2>&1
|
||||
|
||||
- name: Run integration tests
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user