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:
Emmy D'Anello 2022-11-08 15:55:09 +01:00
parent 815206a0a5
commit 7f8934a647
3 changed files with 18 additions and 10 deletions

View File

@ -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

View File

@ -1,4 +1,4 @@
FROM python:3.10-alpine
FROM python:3.11-alpine
ENV PYTHONUNBUFFERED 1
ENV DJANGO_ALLOW_ASYNC_UNSAFE 1

View File

@ -1,8 +1,8 @@
[tox]
envlist =
py38
py39
py310
py311
linters
skipsdist = True