Skip to content

Commit

Permalink
Add postgis to CI setup
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulDoyle-EA committed Apr 16, 2024
1 parent 36535ff commit a812b87
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
# Label used to access the service container
postgres:
# Docker Hub image
image: postgis
image: postgres:16.2-alpine
# Provide the password for postgres
env:
POSTGRES_USER: postgres
Expand All @@ -45,6 +45,11 @@ jobs:
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of sonarcloud analysis

- name: Install dependencies
run: |
sudo apt-get install -qq postgis postgresql-postgis
sudo cp postgis.control /usr/local/share/postgresql/extension/postgis.control
# We don't have to specify the ruby version, or grab it from .ruby-verion. This action supports reading the
# version from .ruby-version itself
- name: Install Ruby
Expand Down

0 comments on commit a812b87

Please sign in to comment.