From b41d8016980f2f8342455021342ff8fe984332e7 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 5 Apr 2023 12:51:49 +0200 Subject: CI: add simple gitlab CI configuration running static analysis --- .gitlab-ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..4f4121d --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,23 @@ +image: "muhq/python-dev:0.1" + +before_script: + - python --version + - pipenv install --dev + +stages: + - Static Analysis + +pylint: + stage: Static Analysis + script: + - pipenv run make check-pylint + +format: + stage: Static Analysis + script: + - pipenv run make check-format + +mypy: + stage: Static Analysis + script: + - pipenv run make check-mypy -- cgit v1.2.3