photo26/.gitlab-ci.yml
2023-08-05 13:49:52 +02:00

39 lines
963 B
YAML

stages:
- test
- quality-assurance
# Debian Bullseye
py39-django22:
stage: test
image: debian:bullseye
before_script:
- >
apt-get update &&
apt-get install --no-install-recommends -y
python3-django python3-django-crispy-forms
python3-pil python3-django-allauth
python3-pip python3-setuptools tox git
script: tox -e py39-django22
# Debian Bookworm
py311-django32:
stage: test
image: debian:bookworm
before_script:
- >
apt-get update &&
apt-get install --no-install-recommends -y
python3-django python3-django-crispy-forms
python3-pil python3-django-allauth
python3-pip python3-setuptools tox git
script: tox -e py311-django32
linters:
stage: quality-assurance
image: debian:bookworm
before_script:
- apt-get update && apt-get install -y tox
script: tox -e linters
# Be nice to new contributors, but please use `tox`
allow_failure: true