Drop Python 3.8 support, add Python 3.10 and 3.11 support
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
parent
815206a0a5
commit
7f8934a647
|
@ -2,14 +2,6 @@ stages:
|
||||||
- test
|
- test
|
||||||
- quality-assurance
|
- 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:
|
py39:
|
||||||
stage: test
|
stage: test
|
||||||
image: python:3.9-alpine
|
image: python:3.9-alpine
|
||||||
|
@ -18,6 +10,22 @@ py39:
|
||||||
- pip install tox --no-cache-dir
|
- pip install tox --no-cache-dir
|
||||||
script: tox -e py39
|
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:
|
linters:
|
||||||
stage: quality-assurance
|
stage: quality-assurance
|
||||||
image: python:3-alpine
|
image: python:3-alpine
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM python:3.10-alpine
|
FROM python:3.11-alpine
|
||||||
|
|
||||||
ENV PYTHONUNBUFFERED 1
|
ENV PYTHONUNBUFFERED 1
|
||||||
ENV DJANGO_ALLOW_ASYNC_UNSAFE 1
|
ENV DJANGO_ALLOW_ASYNC_UNSAFE 1
|
||||||
|
|
Loading…
Reference in New Issue