support-organizer/.gitlab-ci.yml
2023-10-01 19:54:06 +02:00

25 lines
604 B
YAML

stages:
- quality assurance
.init_venv: &init_venv
- python -m venv .venv
- source .venv/bin/activate
- python --version
- echo "venv '$VIRTUAL_ENV'"
.install_requirements: &install_requirements
- pip install -r requirements.txt --disable-pip-version-check -q
- python -m pip list --format=columns --disable-pip-version-check
backend-pylint:
stage: quality assurance
image: python:3.11.4-buster
before_script:
- cd backend
- *init_venv
- *install_requirements
- pip install pylint --disable-pip-version-check -q
- pylint --version
script:
- pylint src/* --fail-under 9