Commit 5fb772b5 authored by Tristan Van Berkom's avatar Tristan Van Berkom Committed by Tristan Van Berkom

.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
parent a9390efd
Pipeline #28692308 passed with stages
in 39 minutes and 24 seconds
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment