diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5b27f88..0b99040 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,31 @@ +--- +run pylint: + stage: test + image: python:3.9 + script: + - pip install --upgrade pylint + - pylint $(git ls-files '*.py') + tags: + - docker + +run flake8: + stage: test + image: python:3.9 + script: + - pip install --upgrade flake8 + - flake8 $(git ls-files '*.py') + tags: + - docker + +run mypy: + stage: test + image: python:3.9 + script: + - pip install --upgrade mypy + - mypy --install-types --non-interactive $(git ls-files '*.py') + tags: + - docker + run tests: stage: test image: python:3.9