From 9e281b4cc42a5aa935d694364dffb3b728a0ba16 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sat, 4 Nov 2023 14:58:36 +0100 Subject: add simple gitlab CI config --- .gitlab-ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitlab-ci.yml (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..9026934 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,24 @@ +image: "muhq/python-dev:3.11.0" + +before_script: + - python --version + - pipenv install --dev + +stages: + - Static Analysis + - Test + +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