File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -68,11 +68,16 @@ jobs:
68
68
- postgresql
69
69
- mysql2
70
70
- oracle_enhanced
71
+ - postgis
71
72
# - trilogy
72
73
exclude :
73
74
- rails : rails_7.1.0
74
75
adapter : oracle_enhanced
75
76
77
+ - rails : rails_7.1.0
78
+ adapter : postgis
79
+ ruby : 2.7'
80
+
76
81
steps :
77
82
- name : Checkout
78
83
uses : actions/checkout@v4
Original file line number Diff line number Diff line change 4
4
database : ajax_datatables_rails
5
5
encoding : utf8
6
6
7
- <% if adapter == 'postgresql' % >
7
+ <% if adapter == 'postgresql' || adapter == 'postgis' % >
8
8
host : ' 127.0.0.1'
9
9
port : 5432
10
10
username : ' postgres'
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ def self.mysql?
77
77
end
78
78
79
79
def self . postgresql?
80
- ENV [ 'DB_ADAPTER' ] == 'postgresql'
80
+ ENV [ 'DB_ADAPTER' ] == 'postgresql' || ENV [ 'DB_ADAPTER' ] == 'postgis'
81
81
end
82
82
end
83
83
You can’t perform that action at this time.
0 commit comments