Commit 60679d58 authored by Tomas Krizek's avatar Tomas Krizek

gitlabci: simplify job definition + run pytest

parent aced86c9
image: $CI_REGISTRY/knot/knot-resolver/ci:debian-stable
variables:
LC_ALL: C.UTF-8
stages:
- test
test:mypy:
script:
- ./ci/mypy-run.sh
.debian_stable: &debian_stable
image: $CI_REGISTRY/knot/knot-resolver/ci:debian-stable
tags:
- docker
- linux
- amd64
test:mypy:
<<: *debian_stable
script:
- ./ci/mypy-run.sh
test:flake8:
<<: *debian_stable
script:
- python3 -m flake8 --max-line-length=100 . && echo "OK, no flake8 errors detected"
tags:
- docker
- linux
- amd64
test:pylint:
stage: test
<<: *debian_stable
script:
- pip3 install -r requirements.txt
- ./ci/pylint-run.sh
tags:
- docker
- linux
- amd64
test:pytest:
<<: *debian_stable
script:
- export PYTHONPATH="response_differences/:$PYTHONPATH"
- python3 -m pytest response_differences
test:respdiff:
stage: test
<<: *debian_stable
script:
- pip3 install -r requirements.txt
- ./ci/respdiff-run.sh
tags:
- docker
- linux
- amd64
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