From 37ca0e5caa5e8ae550de001796c52ba30c0a356d Mon Sep 17 00:00:00 2001
From: Bryan Brancotte <bryan.brancotte@pasteur.fr>
Date: Wed, 10 Jan 2024 09:28:33 +0100
Subject: [PATCH] test multiple django versions

---
 .gitlab-ci.yml | 8 ++++++++
 setup.cfg      | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 283cdfe..672f2d9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,10 +20,18 @@ test:
     - name: postgres:14
       alias: "db-local"
   script:
+    - pip install "django=~${DJANGO_VERSION}" --upgrade
     - pip install -r requirements.txt -r requirements-test.txt
     - coverage run --source='.' runtests.py
     - coverage report --skip-covered --omit=*/wsgi.py,*/asgi.py,manage.py,*/apps.py,setup.py
     - coverage html -d htmlcov --omit=*/wsgi.py,*/asgi.py,manage.py,*/apps.py,setup.py
+  parallel:
+    matrix:
+      - DJANGO_VERSION: [
+          "3.2",
+          "4.2",
+          "5.0",
+        ]
   artifacts:
     paths:
       - htmlcov
diff --git a/setup.cfg b/setup.cfg
index 3e10265..7f5ae5d 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,6 +1,6 @@
 [metadata]
 name = django-autocomplete-multi-models
-version = 0.5.4
+version = 0.5.5
 description = An app that index fields across multiple models, and expose an api to query for word similar to the query.
 long_description = file: README.md
 author = Bryan Brancotte
-- 
GitLab