mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-11-27 06:13:01 +00:00
eb7e7c1579
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
30 lines
746 B
YAML
30 lines
746 B
YAML
stages:
|
|
- test
|
|
- quality-assurance
|
|
|
|
py311:
|
|
stage: test
|
|
image: python:3.11-alpine
|
|
before_script:
|
|
- apk add --no-cache libmagic
|
|
- apk add --no-cache gettext git # Useful for django-haystack, remove when the newer versions are in PyPI
|
|
- pip install tox --no-cache-dir
|
|
script: tox -e py311
|
|
|
|
py312:
|
|
stage: test
|
|
image: python:3.12-alpine
|
|
before_script:
|
|
- apk add --no-cache libmagic
|
|
- apk add --no-cache gettext git # Useful for django-haystack, remove when the newer versions are in PyPI
|
|
- pip install tox --no-cache-dir
|
|
script: tox -e py312
|
|
|
|
linters:
|
|
stage: quality-assurance
|
|
image: python:3-alpine
|
|
before_script:
|
|
- pip install tox --no-cache-dir
|
|
script: tox -e linters
|
|
allow_failure: true
|