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 20, 2022
1 parent 5d4e023 commit 57695bf
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,16 @@ jobs:
run: |
conda install -y -q sqlite
# Postgres-14 is already installed from official postgres repo, but we
# also need pgsphere which is not installed. 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 57695bf

Please sign in to comment.