aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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