Skip to content
Snippets Groups Projects

Draft: Resolve "Measure code quality with gitlab-ci"

Closed Ubbo Veentjer requested to merge 25-measure-code-quality-with-gitlab-ci into main
+ 20
0
---
include:
- template: Code-Quality.gitlab-ci.yml
workflow:
rules:
- if: $CI_MERGE_REQUEST_IID
@@ -35,6 +38,23 @@ unit tests:
- PYTHON_VERSION: ["3.8", "3.9", "3.10"]
PLATFORM: [bullseye, alpine]
code_quality:
tags:
- docker
variables:
CODECLIMATE_DEBUG: 1
rules:
- if: $CODE_QUALITY_DISABLED
when: never
- when: always
code_quality_html:
extends: code_quality
variables:
REPORT_FORMAT: html
artifacts:
paths: [gl-code-quality-report.html]
pages:
stage: deploy
image: ubuntu:20.04
Loading