1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-12-22 23:42:25 +00:00

Merge branch 'continuous-intergration' into 'main'

continuous-intergration

See merge request bde/nk20!271
This commit is contained in:
bleizi 2024-09-05 20:54:40 +02:00
commit 5040e8e8ea
2 changed files with 3 additions and 20 deletions

View File

@ -7,21 +7,6 @@ stages:
variables:
GIT_SUBMODULE_STRATEGY: recursive
# Debian Bullseye
py39-django42:
stage: test
image: debian:bullseye
before_script:
- >
apt-get update &&
apt-get install --no-install-recommends -y
python3-django python3-django-crispy-forms
python3-django-extensions python3-django-filters python3-django-polymorphic
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 py39-django42
# Ubuntu 22.04
py310-django42:
stage: test
@ -54,8 +39,6 @@ py311-django42:
python3-bs4 python3-setuptools tox texlive-xetex
script: tox -e py311-django42
linters:
stage: quality-assurance
image: debian:bookworm

View File

@ -1,14 +1,14 @@
[tox]
envlist =
# Debian Bullseye Python
py39-django42
# Ubuntu 22.04 Python
py310-django42
# Debian Bookworm Python
py311-django42
# Ubuntu 24.04 Python
py312-django42
linters
skipsdist = True