diff --git a/.github/workflows/budibase_ci.yml b/.github/workflows/budibase_ci.yml index cb20bb8c37..2151e1e342 100644 --- a/.github/workflows/budibase_ci.yml +++ b/.github/workflows/budibase_ci.yml @@ -203,6 +203,12 @@ jobs: - name: Set up PostgreSQL 16 if: matrix.datasource == 'postgres' run: | + sudo systemctl stop postgresql + sudo apt-get remove --purge -y postgresql* libpq-dev + sudo rm -rf /etc/postgresql /var/lib/postgresql + sudo apt-get autoremove -y + sudo apt-get autoclean + sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - sudo apt-get update