From 5fb772b5733f1ec9b54764b709fc07fb868d713d Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Sun, 26 Aug 2018 16:01:03 +0900 Subject: .gitlab-ci.yml: Trying to fix code quality reports This hasnt been working for a while, it might be because GitLab doesnt quite grasp that we have multiple branches to merge MRs to, or it might be because they have change the API and broken back compat in some way. See: https://docs.gitlab.com/ee/ci/examples/code_quality.html --- .gitlab-ci.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d93704bb0..669f87dbf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -182,11 +182,9 @@ docs: # Post stage # ##################################################### -# Check code quality with codeclimate -# This needs some refactoring; we probably just want to provide the codeclimate.json directly -# as an output of radon, with some conversion +# Check code quality with gitlab's built-in feature. # -codequality: +code_quality: <<: *tests-condition image: docker:stable @@ -204,7 +202,7 @@ codequality: --volume /var/run/docker.sock:/var/run/docker.sock "registry.gitlab.com/gitlab-org/security-products/codequality:$SP_VERSION" /code artifacts: - paths: [codeclimate.json] + paths: [gl-code-quality-report.json] analysis: <<: *tests-condition -- cgit v1.2.1