Verified Commit 839f585f authored by Sli's avatar Sli

CI: improve CI

parent cb58b00b
Pipeline #1533 passed with stage
in 8 minutes and 1 second
stages:
- setup
- test
setup:
stage: setup
test:
stage: test
script:
- apt-get update
- apt-get install -y gettext
- pip install -r requirements.txt
- pip install coverage
- pip install black
test:
stage: test
script:
- ./manage.py compilemessages
- coverage run ./manage.py test
- coverage html
......@@ -25,4 +19,5 @@ test:
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