Verified Commit 839f585f authored by Sli's avatar Sli
Browse files

CI: improve CI

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