Skip to content
Snippets Groups Projects
Commit ca3122a9 authored by Neda Moeini's avatar Neda Moeini
Browse files

Updated Sonarqube in pipeline.

parent 0a97ee1f
No related branches found
No related tags found
1 merge request!93Added SonarQube to the pipeline.
......@@ -2,7 +2,7 @@
stages:
- tox
- documentation
- sonarqube
include:
- docs/.gitlab-ci.yml
......@@ -16,6 +16,7 @@ run-tox-pipeline:
services:
- postgres:15.4
# Change pip's cache directory to be inside the project directory since we can
# only cache local items.
variables:
......@@ -47,9 +48,8 @@ run-tox-pipeline:
paths:
- htmlcov
sonarqube-analysis:
image: sonarsource/sonar-scanner-cli
script:
- sonar-scanner
only:
- develop
sonarqube:
stage: sonarqube
image: sonarsource/sonar-scanner-cli
script:
- sonar-scanner
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment