From 6d70bac7d973b28ad2f6a95a126ae4512bb0bb9e Mon Sep 17 00:00:00 2001 From: Federico Capoano Date: Thu, 23 Nov 2023 13:08:25 -0300 Subject: [PATCH] [ci] Run with spatialite on Ubuntu 20.04 --- .github/workflows/ci.yml | 2 +- tests/openwisp2/settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 33c915d..adaa056 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ on: jobs: build: name: Python==${{ matrix.python-version }} | ${{ matrix.django-version }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-20.04 services: redis: diff --git a/tests/openwisp2/settings.py b/tests/openwisp2/settings.py index 70310de..4cb959d 100644 --- a/tests/openwisp2/settings.py +++ b/tests/openwisp2/settings.py @@ -10,7 +10,7 @@ DATABASES = { 'default': { - 'ENGINE': 'openwisp_utils.db.backends.spatialite', + 'ENGINE': 'django.contrib.gis.db.backends.spatialite', 'NAME': 'owm-legacy.db', } }