med/.gitlab-ci.yml

25 lines
595 B
YAML

stages:
- test
- quality-assurance
py39-django22:
stage: test
image: debian:bullseye
before_script:
- >
apt-get update &&
apt-get install --no-install-recommends -y
python3-django python3-django-polymorphic python3-django-reversion
python3-djangorestframework python3-docutils python3-requests tox
script: tox -e py39
linters:
stage: quality-assurance
image: debian:bullseye
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