2020-12-28 16:28:51 +00:00
|
|
|
stages:
|
|
|
|
- test
|
|
|
|
- quality-assurance
|
|
|
|
|
2024-01-13 16:24:36 +00:00
|
|
|
py311:
|
2020-12-28 16:28:51 +00:00
|
|
|
stage: test
|
2024-01-13 16:24:36 +00:00
|
|
|
image: python:3.11-alpine
|
2020-12-28 16:28:51 +00:00
|
|
|
before_script:
|
2020-12-28 18:12:07 +00:00
|
|
|
- apk add --no-cache libmagic
|
2024-10-21 17:33:47 +00:00
|
|
|
- apk add --no-cache gettext
|
2020-12-28 16:28:51 +00:00
|
|
|
- pip install tox --no-cache-dir
|
2024-01-13 16:24:36 +00:00
|
|
|
script: tox -e py311
|
2022-11-08 14:55:09 +00:00
|
|
|
|
2024-01-13 16:24:36 +00:00
|
|
|
py312:
|
2022-11-08 14:55:09 +00:00
|
|
|
stage: test
|
2024-01-13 16:24:36 +00:00
|
|
|
image: python:3.12-alpine
|
2022-11-08 14:55:09 +00:00
|
|
|
before_script:
|
|
|
|
- apk add --no-cache libmagic
|
2024-10-21 17:33:47 +00:00
|
|
|
- apk add --no-cache gettext
|
2022-11-08 14:55:09 +00:00
|
|
|
- pip install tox --no-cache-dir
|
2024-01-13 16:24:36 +00:00
|
|
|
script: tox -e py312
|
2020-12-28 16:28:51 +00:00
|
|
|
|
2024-10-21 17:33:47 +00:00
|
|
|
py313:
|
|
|
|
stage: test
|
|
|
|
image: python:3.13-alpine
|
|
|
|
before_script:
|
|
|
|
- apk add --no-cache libmagic
|
|
|
|
- apk add --no-cache gettext
|
|
|
|
- pip install tox --no-cache-dir
|
|
|
|
script: tox -e py313
|
|
|
|
|
2020-12-28 16:28:51 +00:00
|
|
|
linters:
|
|
|
|
stage: quality-assurance
|
|
|
|
image: python:3-alpine
|
|
|
|
before_script:
|
|
|
|
- pip install tox --no-cache-dir
|
|
|
|
script: tox -e linters
|
|
|
|
allow_failure: true
|