.gitlab-ci.yml 407 Bytes
Newer Older
Jelle van der Waa's avatar
Jelle van der Waa committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
image: python:3.8-slim


before_script:
   - apt-get update -qy
   - apt-get update -y git
   - pip install pylint
   - pip install -r requirements.txt
   - python manage.py collectstatic --noinput


stages:
  - lint
  - test


lint:
  script:
     - pylint devel main mirrors news packages releng templates todolists visualize *.py


lint:
  script:
     - coverage run --rcfile .coveragerc manage.py test