Skip to content

Commit

Permalink
Use postgis postgres docker image for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maatinito committed Oct 9, 2023
1 parent 49bb92e commit 135c689
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:14
image: postgis/postgis:14-3.3
env:
POSTGRES_USER: tps_test
POSTGRES_DB: tps_test
Expand Down
2 changes: 2 additions & 0 deletions config/environment.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Load the Rails application.
require_relative "application"

ActiveRecord::SchemaDumper.ignore_tables = ["spatial_ref_sys"]

# Initialize the Rails application.
Rails.application.initialize!

0 comments on commit 135c689

Please sign in to comment.