fix(ci): add GRANT on public schema and verbose migrate output

This commit is contained in:
2026-04-26 00:48:57 +02:00
committed by djalim
parent 6b8b5e6aa3
commit 91248370da
+2 -1
View File
@@ -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: