support-organizer/.gitlab-ci.yml

17 lines
443 B
YAML
Raw Normal View History

2023-09-26 20:01:25 +00:00
stages:
- quality assurance
2023-09-26 20:54:40 +00:00
backend-pylint:
2023-09-26 20:01:25 +00:00
stage: quality assurance
image: python:3.11.4-buster
before_script:
- cd backend
2023-09-26 20:02:00 +00:00
- python -m venv .venv
- source .venv/bin/activate
- echo "venv '$VIRTUAL_ENV'"
2023-09-26 20:56:05 +00:00
- pip install -r requirements.txt --disable-pip-version-check -q
- pip install pylint --disable-pip-version-check -q
2023-09-26 20:02:00 +00:00
- python --version
- python -m pip list --format=columns
2023-09-26 20:01:25 +00:00
script:
- pylint src/* --fail-under 9