diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7b3a6b4..9c34a4f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,14 +2,6 @@ stages: - test - quality-assurance -py38: - stage: test - image: python:3.8-alpine - before_script: - - apk add --no-cache libmagic - - pip install tox --no-cache-dir - script: tox -e py38 - py39: stage: test image: python:3.9-alpine @@ -18,6 +10,22 @@ py39: - pip install tox --no-cache-dir script: tox -e py39 +py310: + stage: test + image: python:3.10-alpine + before_script: + - apk add --no-cache libmagic + - pip install tox --no-cache-dir + script: tox -e py310 + +py311: + stage: test + image: python:3.11-alpine + before_script: + - apk add --no-cache libmagic + - pip install tox --no-cache-dir + script: tox -e py311 + linters: stage: quality-assurance image: python:3-alpine diff --git a/Dockerfile b/Dockerfile index 6d5d630..e61cb87 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10-alpine +FROM python:3.11-alpine ENV PYTHONUNBUFFERED 1 ENV DJANGO_ALLOW_ASYNC_UNSAFE 1 diff --git a/tox.ini b/tox.ini index c5d8537..9d4e3f3 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,8 @@ [tox] envlist = - py38 py39 py310 + py311 linters skipsdist = True