From c12e3105ed4da063c986439bf23bdc5c2ac41d54 Mon Sep 17 00:00:00 2001 From: Daniel Marin Date: Thu, 9 Jan 2025 11:38:10 +0100 Subject: [PATCH] fix(ci): add PostgreSQL repository --- .github/workflows/ci_test_ud_db.yml | 5 +++++ .github/workflows/ci_test_ws_db.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/ci_test_ud_db.yml b/.github/workflows/ci_test_ud_db.yml index 2bf92af2d..e57b16a5c 100644 --- a/.github/workflows/ci_test_ud_db.yml +++ b/.github/workflows/ci_test_ud_db.yml @@ -24,6 +24,11 @@ jobs: python -m pip install --upgrade pip pip install -r test/requirements.txt + - name: Add PostgreSQL repository + run: | + 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 -qO - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - + - name: Update apt-get and Install PostgreSQL, PostGIS, pgRouting, and pgTAP run: | sudo apt-get update diff --git a/.github/workflows/ci_test_ws_db.yml b/.github/workflows/ci_test_ws_db.yml index 2bf74913e..da927ad80 100644 --- a/.github/workflows/ci_test_ws_db.yml +++ b/.github/workflows/ci_test_ws_db.yml @@ -24,6 +24,11 @@ jobs: python -m pip install --upgrade pip pip install -r test/requirements.txt + - name: Add PostgreSQL repository + run: | + 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 -qO - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - + - name: Update apt-get and Install PostgreSQL, PostGIS, pgRouting, and pgTAP run: | sudo apt-get update