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

stages:
  - test

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

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

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

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

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

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