diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1a61ec34be19adf814d8dbd50dd45f0b4cbe46e0..9ff884961c0fa28644077f008fe871147adca13f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,9 +19,7 @@ tests: script: - coverage run -m unittest discover - coverage xml - artifacts: - reports: - junit: coverage.xml + sonarqube-check: image: @@ -32,6 +30,9 @@ sonarqube-check: SONAR_HOST_URL: http://192.168.1.58:9000/ # You have to not use localhost otherwise it will not work SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar" # Defines the location of the analysis task cache GIT_DEPTH: "0" # Tells git to fetch all the branches of the project, required by the analysis task + artifacts: + reports: + junit: coverage.xml cache: key: "${CI_JOB_NAME}" paths: