From 703c2e85677b628f5bfcf5f07ec548e4d03c7bb2 Mon Sep 17 00:00:00 2001 From: shubham-yb Date: Wed, 11 Dec 2024 10:54:05 +0000 Subject: [PATCH] Install postgis in the machine --- .github/workflows/pg-migtests.yml | 41 ++++++++++++++++--------------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/.github/workflows/pg-migtests.yml b/.github/workflows/pg-migtests.yml index cdda6323e..53ea89a7a 100644 --- a/.github/workflows/pg-migtests.yml +++ b/.github/workflows/pg-migtests.yml @@ -1,4 +1,4 @@ -name: "PG 13: Migration Tests" +name: "PG 14: Migration Tests" on: push: @@ -58,11 +58,12 @@ jobs: docker restart ${{ job.services.postgres.id }} sleep 10 - - name: Install python3 and psycopg2 + - name: Install python3, psycopg2 and postgis run: | sudo apt install -y python3 sudo apt install -y libpq-dev sudo apt install python3-psycopg2 + sudo apt install postgresql-14-postgis-scripts -y - name: Run installer script to setup voyager run: | @@ -106,29 +107,29 @@ jobs: echo "127.0.0.1 yb-master-n1" | sudo tee -a /etc/hosts psql "postgresql://yugabyte@yb-tserver-n1:5433/yugabyte" -c "SELECT version();" - - name: "TEST: PG sample schemas (omnibus)" - if: ${{ !cancelled() && matrix.test_group == 'offline' }} - run: migtests/scripts/run-schema-migration.sh pg/omnibus + # - name: "TEST: PG sample schemas (omnibus)" + # if: ${{ !cancelled() && matrix.test_group == 'offline' }} + # run: migtests/scripts/run-schema-migration.sh pg/omnibus - - name: "TEST: PG sample schemas (sakila)" - if: ${{ !cancelled() && matrix.test_group == 'offline' }} - run: migtests/scripts/run-schema-migration.sh pg/sakila + # - name: "TEST: PG sample schemas (sakila)" + # if: ${{ !cancelled() && matrix.test_group == 'offline' }} + # run: migtests/scripts/run-schema-migration.sh pg/sakila - - name: "TEST: PG sample schemas (pgtbrus)" - if: ${{ !cancelled() && matrix.test_group == 'offline' }} - run: migtests/scripts/run-schema-migration.sh pg/pgtbrus + # - name: "TEST: PG sample schemas (pgtbrus)" + # if: ${{ !cancelled() && matrix.test_group == 'offline' }} + # run: migtests/scripts/run-schema-migration.sh pg/pgtbrus - - name: "TEST: PG sample schemas (stackexchange)" - if: ${{ !cancelled() && matrix.test_group == 'offline' }} - run: migtests/scripts/run-schema-migration.sh pg/stackexchange + # - name: "TEST: PG sample schemas (stackexchange)" + # if: ${{ !cancelled() && matrix.test_group == 'offline' }} + # run: migtests/scripts/run-schema-migration.sh pg/stackexchange - - name: "TEST: PG sample schemas (sample-is)" - if: ${{ !cancelled() && matrix.test_group == 'offline' }} - run: migtests/scripts/run-schema-migration.sh pg/sample-is + # - name: "TEST: PG sample schemas (sample-is)" + # if: ${{ !cancelled() && matrix.test_group == 'offline' }} + # run: migtests/scripts/run-schema-migration.sh pg/sample-is - - name: "TEST: PG sample schemas (adventureworks)" - if: ${{ !cancelled() && matrix.test_group == 'offline' }} - run: migtests/scripts/run-schema-migration.sh pg/adventureworks + # - name: "TEST: PG sample schemas (adventureworks)" + # if: ${{ !cancelled() && matrix.test_group == 'offline' }} + # run: migtests/scripts/run-schema-migration.sh pg/adventureworks - name: "TEST: PG sample schemas (osm)" if: ${{ !cancelled() && matrix.test_group == 'offline' }}