Enable tests with Python 3.13 & Django 5.2

This commit is contained in:
Antoine Lorence 2025-03-31 22:21:59 +02:00
parent b812f6de21
commit f5920fd5d0
2 changed files with 6 additions and 3 deletions

View file

@ -13,8 +13,11 @@ jobs:
strategy:
matrix:
python: ["3.10", "3.11", "3.12"]
django: ["4.2", "5.0", "5.1"]
python: ["3.10", "3.11", "3.12", "3.13"]
django: ["4.2", "5.0", "5.1", "5.2"]
exclude:
- { python: "3.13", django: "4.2" }
- { python: "3.13", django: "5.0" }
name: Tests - python ${{ matrix.python }} × django ${{ matrix.django }}

View file

@ -23,6 +23,6 @@ COPY . /app/
# Install project dependencies
RUN poetry config virtualenvs.create false \
&& poetry install \
&& pip install -U "django==$DJANGO_VERSION.*"
&& pip install -U --pre "django==$DJANGO_VERSION.*"
CMD [ "python", "manage.py", "runserver", "0.0.0.0:8000" ]