added qodana report

Signed-off-by: Jochen Mehlich <contact@jochenmehlich.de>
This commit is contained in:
Jochen Mehlich 2023-11-29 18:01:33 +01:00
parent 29545e8889
commit 0bf082a1ef

View File

@ -46,3 +46,19 @@ django-tests:
# use python3 explicitly. see https://wiki.ubuntu.com/Python/3
- python3 manage.py test
qodana:
stage: quality
image:
name: jetbrains/qodana-python:2023.3-eap
entrypoint: [""]
variables:
QODANA_REMOTE_URL: git@$CI_SERVER_HOST:$CI_PROJECT_PATH.git
QODANA_BRANCH: $CI_COMMIT_BRANCH
QODANA_REPO_URL: $CI_PROJECT_URL
QODANA_JOB_URL: $CI_JOB_URL
script:
- qodana --save-report --results-dir=$CI_PROJECT_DIR/qodana --report-dir=$CI_PROJECT_DIR/qodana/report
artifacts:
paths:
- qodana/report/
expose_as: 'Qodana report'