.gitlab-ci.yml 390 Bytes
Newer Older
Sli's avatar
Sli committed
1 2 3
stages:
  - test

Sli's avatar
Sli committed
4 5
test:
  stage: test
Skia's avatar
Skia committed
6
  script:
Skia's avatar
Skia committed
7 8
  - apt-get update
  - apt-get install -y gettext
Skia's avatar
Skia committed
9
  - pip install -r requirements.txt
Sli's avatar
Sli committed
10
  - pip install coverage
Skia's avatar
Skia committed
11 12 13 14 15 16 17
  - ./manage.py compilemessages
  - coverage run ./manage.py test
  - coverage html
  - coverage report
  artifacts:
    paths:
      - coverage_report/
Sli's avatar
Sli committed
18 19 20 21

black:
  stage: test
  script:
Sli's avatar
Sli committed
22
    - pip install black
Sli's avatar
Sli committed
23
    - black --check .