Commit 88d6f8dc authored by Sli's avatar Sli

CI: introduce black

parent d1d1ba4a
test:
stages:
- setup
- test
setup:
stage: setup
script:
- apt-get update
- apt-get install -y gettext
- pip install -r requirements.txt
test:
stage: test
script:
- pip install coverage
- ./manage.py compilemessages
- coverage run ./manage.py test
......@@ -11,3 +20,9 @@ test:
artifacts:
paths:
- coverage_report/
black:
stage: test
script:
- pip install black
- black --check .
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment