aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-04-05 12:51:49 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-04-05 12:51:49 +0200
commitb41d8016980f2f8342455021342ff8fe984332e7 (patch)
treef49e432865ba74cbe1db3ea80f290ce758e99a00
parent87853028a9d97677af9b25b50d00bee940320b42 (diff)
downloadavail-lessons-b41d8016980f2f8342455021342ff8fe984332e7.tar.gz
avail-lessons-b41d8016980f2f8342455021342ff8fe984332e7.zip
CI: add simple gitlab CI configuration running static analysis
-rw-r--r--.gitlab-ci.yml23
1 files changed, 23 insertions, 0 deletions
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