Skip to content

Commit

Permalink
Install pgSphere in github action
Browse files Browse the repository at this point in the history
  • Loading branch information
andy-slac committed Oct 13, 2022
1 parent f3daa2d commit 48f1574
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,15 @@ jobs:
run: |
conda install -y -q sqlite
# Postgres-14 is already installed from official postgres repo, but we
# need pgsphere. The repo is not in the list, so we need to re-add it
# first.
- name: Install postgresql (server)
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 --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get install postgresql
sudo apt-get install postgresql-14 postgresql-14-pgsphere
- name: Install postgresql Python packages
shell: bash -l {0}
Expand Down

0 comments on commit 48f1574

Please sign in to comment.