From ac7e438bd8c41e922167ffa122b0bdceebc7045c Mon Sep 17 00:00:00 2001 From: Thomas Flori <t.flori@sportradar.com> Date: Thu, 4 Apr 2024 14:13:52 +0200 Subject: [PATCH] run codeclimate twice for html and json report --- .gitlab-ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9cba1a2..70443db 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,6 +15,18 @@ code_quality: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - if: $CI_COMMIT_TAG services: + +code_quality_html: + tags: + - cq-sans-dind + needs: [code_quality] + rules: + - if: $CODE_QUALITY_DISABLED + when: never + - if: $CI_PIPELINE_SOURCE == "merge_request_event" + - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH + - if: $CI_COMMIT_TAG + services: variables: REPORT_FORMAT: html artifacts: -- GitLab