From c5177c7a4e0fb23c245d083d1da79045bbaeb0c5 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Fri, 11 Aug 2023 14:27:40 +0200 Subject: add simple gitlab CI using my python development docker image --- .gitlab-ci.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..b5c6a62 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,29 @@ +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 + +test: + stage: Test + script: + - pipenv run make test -- cgit v1.2.3