summaryrefslogtreecommitdiff
path: root/.github/workflows/data/test_postgis.py.tpl
diff options
context:
space:
mode:
authornessita <124304+nessita@users.noreply.github.com>2025-06-17 15:25:47 -0300
committerGitHub <noreply@github.com>2025-06-17 15:25:47 -0300
commit8c56e939750ae785b806dfa4e043590760c90ab6 (patch)
treea849fa7261e21a52218067dddbb21ea9bab89773 /.github/workflows/data/test_postgis.py.tpl
parent0f60102444d8a2cfb662a7b11b3911b52567ee54 (diff)
Refs #36009 -- Added GitHub action workflow to run tests with latest stable postgis version.
Diffstat (limited to '.github/workflows/data/test_postgis.py.tpl')
-rw-r--r--.github/workflows/data/test_postgis.py.tpl20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/data/test_postgis.py.tpl b/.github/workflows/data/test_postgis.py.tpl
new file mode 100644
index 0000000000..684972c41e
--- /dev/null
+++ b/.github/workflows/data/test_postgis.py.tpl
@@ -0,0 +1,20 @@
+from test_sqlite import * # NOQA
+
+DATABASES = {
+ "default": {
+ "ENGINE": "django.contrib.gis.db.backends.postgis",
+ "USER": "user",
+ "NAME": "geodjango",
+ "PASSWORD": "postgres",
+ "HOST": "localhost",
+ "PORT": 5432,
+ },
+ "other": {
+ "ENGINE": "django.contrib.gis.db.backends.postgis",
+ "USER": "user",
+ "NAME": "geodjango2",
+ "PASSWORD": "postgres",
+ "HOST": "localhost",
+ "PORT": 5432,
+ },
+}