Skip to content
Snippets Groups Projects

Added SonarQube to the pipeline.

Merged Neda Moeini requested to merge feature/AddSonaQube into develop
All threads resolved!
1 file
+ 7
7
Compare changes
  • Side-by-side
  • Inline
+ 7
7
@@ -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
Loading