.gitlab-ci.yml 639 Bytes
Newer Older
1 2 3 4 5 6
variables:
  LC_ALL: C.UTF-8

stages:
  - test

7 8
.debian: &debian
  image: $CI_REGISTRY/knot/knot-resolver/ci/debian-buster:knot-2.8
9 10 11 12 13
  tags:
    - docker
    - linux
    - amd64

14
test:mypy:
15
  <<: *debian
16 17 18
  script:
    - ./ci/mypy-run.sh

19
test:flake8:
20
  <<: *debian
21
  script:
22
    - python3 -m flake8 --max-line-length=100 . && echo "OK, no flake8 errors detected"
23 24

test:pylint:
25
  <<: *debian
26
  script:
27
    - pip3 install -r requirements.txt
28
    - ./ci/pylint-run.sh
29 30

test:pytest:
31
  <<: *debian
32
  script:
Tomas Krizek's avatar
Tomas Krizek committed
33
    - python3 -m pytest tests/
34 35

test:respdiff:
36
  <<: *debian
37 38
  script:
    - pip3 install -r requirements.txt
39
    - ./ci/respdiff-run.sh