From 4bd2894c4fc3294c90b7b9bdfc03b5180f104c0f Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Tue, 23 Nov 2021 14:10:12 +0100 Subject: [PATCH] ci: Update CI add Code Style stage. --- .gitlab-ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7dcf05913..d8caf2eb1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -49,6 +49,17 @@ build: - bin - tests/app/vendor/ +code_style: + stage: Tests + image: registry.gitlab.com/chill-projet/chill-app/php-base-image:7.4 + script: + - bin/grumphp run --tasks=phpcsfixer + artifacts: + expire_in: 30 min + paths: + - bin + - tests/app/vendor/ + sa_tests: stage: Tests image: registry.gitlab.com/chill-projet/chill-app/php-base-image:7.4