fix(ci): start postgres with pg_ctlcluster instead of systemctl
Tests / Unit tests (pull_request) Successful in 11s
Tests / Integration tests (pull_request) Failing after 53s

This commit is contained in:
2026-04-26 00:46:02 +02:00
parent 182342aab0
commit ce807391c6
+2 -1
View File
@@ -43,7 +43,8 @@ jobs:
- name: Start postgres
run: |
sudo apt-get update -qq && sudo apt-get install -y -qq postgresql > /dev/null
sudo systemctl start postgresql
PG_VER=$(ls /etc/postgresql/)
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;"