aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-08-11 14:27:40 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-08-11 14:39:27 +0200
commitc5177c7a4e0fb23c245d083d1da79045bbaeb0c5 (patch)
treeb9b7fb0f1bd9390591d2e6ff4235e7f5877d48a8 /.gitlab-ci.yml
parentd7f57f2905f2e64435caad8e1e1c56cb4791f791 (diff)
downloadgeldschieberbot-c5177c7a4e0fb23c245d083d1da79045bbaeb0c5.tar.gz
geldschieberbot-c5177c7a4e0fb23c245d083d1da79045bbaeb0c5.zip
add simple gitlab CI using my python development docker image
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml29
1 files changed, 29 insertions, 0 deletions
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