From ad56d63558abfbf5c3c5bfc7df22db154336cb11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Sch=C3=A4fer?= <felix@thegcat.net> Date: Sun, 6 Sep 2020 15:01:29 +0200 Subject: [PATCH] Add CI lint step --- .gitlab-ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..1f0dc22 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,18 @@ +--- +image: quay.io/ansible/molecule:latest +sevices: + - docker:dind + +variables: + GIT_DEPTH: "1" + PIP_CACHE_DIR: "$CI_PROJECT_DIR/pip-cache" + +cache: + paths: + - "$CI_PROJECT_DIR/pip-cache" + key: "$CI_PROJECT_ID" + +molecule-lint: + stage: test + script: + - molecule lint -- GitLab