CineSync/.gitlab-ci.yml
2024-04-24 11:37:44 +05:00

20 lines
384 B
YAML

stages:
- linting
- black
flake8:
stage: linting
image: registry.gitlab.com/pipeline-components/flake8:latest
script:
- apt-get install libpq-dev
- pip install -r requirements/test.txt
- flake8 .
only:
- main
black_check:
stage: black
image: python:3.9
script:
- pip install -r requirements/dev.txt
- black --check --config pyproject.toml .