mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-12-06 20:07:43 +01:00
update pipeline
This commit is contained in:
@@ -7,10 +7,10 @@ stages:
|
||||
variables:
|
||||
GIT_SUBMODULE_STRATEGY: recursive
|
||||
|
||||
# Ubuntu 22.04
|
||||
py310-django52:
|
||||
# Ubuntu 24.04
|
||||
py312-django52:
|
||||
stage: test
|
||||
image: ubuntu:22.04
|
||||
image: ubuntu:24.04
|
||||
before_script:
|
||||
# Fix tzdata prompt
|
||||
- ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime && echo Europe/Paris > /etc/timezone
|
||||
@@ -22,12 +22,12 @@ py310-django52:
|
||||
python3-djangorestframework python3-django-oauth-toolkit python3-psycopg2 python3-pil
|
||||
python3-babel python3-lockfile python3-pip python3-phonenumbers python3-memcache
|
||||
python3-bs4 python3-setuptools tox texlive-xetex
|
||||
script: tox -e py310-django52
|
||||
script: tox -e py312-django52
|
||||
|
||||
# Debian Bookworm
|
||||
py311-django52:
|
||||
py313-django52:
|
||||
stage: test
|
||||
image: debian:bookworm
|
||||
image: debian:trixie
|
||||
before_script:
|
||||
- >
|
||||
apt-get update &&
|
||||
@@ -37,11 +37,11 @@ py311-django52:
|
||||
python3-djangorestframework python3-django-oauth-toolkit python3-psycopg2 python3-pil
|
||||
python3-babel python3-lockfile python3-pip python3-phonenumbers python3-memcache
|
||||
python3-bs4 python3-setuptools tox texlive-xetex
|
||||
script: tox -e py311-django52
|
||||
script: tox -e py313-django52
|
||||
|
||||
linters:
|
||||
stage: quality-assurance
|
||||
image: debian:bookworm
|
||||
image: debian:trixie
|
||||
before_script:
|
||||
- apt-get update && apt-get install -y tox
|
||||
script: tox -e linters
|
||||
|
||||
Reference in New Issue
Block a user