Skip to content

Commit

Permalink
changes testdb image to postgis
Browse files Browse the repository at this point in the history
Signed-off-by: anchit-chandran <[email protected]>
  • Loading branch information
anchit-chandran committed Jul 11, 2023
1 parent 2aa035b commit 6194719
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-workflow-temp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

services:
postgres:
image: postgres:latest
image: postgis/postgis:15-3.3
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt
# Run Pytests
# run migrations and tests
- name: Run migrations
run: python manage.py migrate
env:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.dev-init.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ services:
echo 'DEV SETUP SCRIPT: Development superuser password: pw' &&
python manage.py runserver 0.0.0.0:8000"
# db container - runs postgres
# db container - runs postgis
db:
image: postgis/postgis:15-3.3
volumes:
Expand Down

0 comments on commit 6194719

Please sign in to comment.