Skip to content

Commit

Permalink
Install postgis in the machine
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham-yb committed Dec 11, 2024
1 parent 0fac1b2 commit 703c2e8
Showing 1 changed file with 21 additions and 20 deletions.
41 changes: 21 additions & 20 deletions .github/workflows/pg-migtests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "PG 13: Migration Tests"
name: "PG 14: Migration Tests"

on:
push:
Expand Down Expand Up @@ -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: |
Expand Down Expand Up @@ -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' }}
Expand Down

0 comments on commit 703c2e8

Please sign in to comment.