mirror of https://gitlab.crans.org/bde/nk20
Merge branch 'continuous-intergration' into 'main'
continuous-intergration See merge request bde/nk20!271
This commit is contained in:
commit
5040e8e8ea
|
@ -7,21 +7,6 @@ stages:
|
||||||
variables:
|
variables:
|
||||||
GIT_SUBMODULE_STRATEGY: recursive
|
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
|
# Ubuntu 22.04
|
||||||
py310-django42:
|
py310-django42:
|
||||||
stage: test
|
stage: test
|
||||||
|
@ -54,8 +39,6 @@ py311-django42:
|
||||||
python3-bs4 python3-setuptools tox texlive-xetex
|
python3-bs4 python3-setuptools tox texlive-xetex
|
||||||
script: tox -e py311-django42
|
script: tox -e py311-django42
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
linters:
|
linters:
|
||||||
stage: quality-assurance
|
stage: quality-assurance
|
||||||
image: debian:bookworm
|
image: debian:bookworm
|
||||||
|
|
6
tox.ini
6
tox.ini
|
@ -1,14 +1,14 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist =
|
envlist =
|
||||||
# Debian Bullseye Python
|
|
||||||
py39-django42
|
|
||||||
|
|
||||||
# Ubuntu 22.04 Python
|
# Ubuntu 22.04 Python
|
||||||
py310-django42
|
py310-django42
|
||||||
|
|
||||||
# Debian Bookworm Python
|
# Debian Bookworm Python
|
||||||
py311-django42
|
py311-django42
|
||||||
|
|
||||||
|
# Ubuntu 24.04 Python
|
||||||
|
py312-django42
|
||||||
|
|
||||||
linters
|
linters
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue