diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 417a8f8708bf493e4cc7bdc802cae131c25c5f18..7e762c52a5a9a7c93baebced0191df2c26b67e45 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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