From 2cdf882e1e25e6c9e072d3b4e4160a3f3a1b6c54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20H=C3=B6ppner?= <jonas.hoeppner@garz-fricke.com> Date: Tue, 22 Mar 2022 13:09:50 +0100 Subject: [PATCH] CI: Enable analyze stage again in .gitlab-ci.yml again --- .gitlab-ci.yml | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2032010b..9edd8f4c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,29 +29,29 @@ workflow: # --------------------------------------------------------------------------------------- # Stage: analyze # --------------------------------------------------------------------------------------- -# pylint: -# stage: analyze -# timeout: 2m -# script: -# - pylint --rcfile=pylintrc *.py -# -# black: -# stage: analyze -# timeout: 2m -# script: -# - black --diff --check *.py -# -# executable: -# stage: analyze -# timeout: 2m -# script: -# - (! find ! -executable -name "*.py" -exec echo "not executable:"" {}" \; | grep .) -# -# yamllint: -# stage: analyze -# timeout: 2m -# script: -# - yamllint -c .yamllint.yml *.yml .*.yml +pylint: + stage: analyze + timeout: 2m + script: + - pylint --rcfile=pylintrc *.py + +black: + stage: analyze + timeout: 2m + script: + - black --diff --check *.py + +executable: + stage: analyze + timeout: 2m + script: + - (! find ! -executable -name "*.py" -exec echo "not executable:"" {}" \; | grep .) + +yamllint: + stage: analyze + timeout: 2m + script: + - yamllint -c .yamllint.yml *.yml .*.yml # --------------------------------------------------------------------------------------- -- GitLab