diff --git a/CI/process_coverage.sh b/CI/process_coverage.sh deleted file mode 100644 index a2ad9555869ffec1953f848c7667ce947b747ea1..0000000000000000000000000000000000000000 --- a/CI/process_coverage.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash -# The modules from lhc-sm-analysis use the lhcsmapi namespace so the package needs to be installed -# before one can run the tests. Therefore, the generated coverage refers to the installed package -# and the paths are unknown to sonar. -# This script fixes the paths in cov.xml file. -sed -i -e 's/\/usr\/local\/lib\/python'${PY_VERSION}'\/site-packages\///g' cov.xml -sed -i -e 's/\.usr\.local\.lib\.python'${PY_VERSION}'\.site-packages\.//g' cov.xml -sed -i -e 's/<source><\/source>/<source>\/builds\/LHCData\/lhc-sm-analysis\/'${CI_PROJECT_NAME}'<\/source>/g' cov.xml \ No newline at end of file diff --git a/sonar-project.properties b/sonar-project.properties deleted file mode 100644 index d969f59d2a6e639c611b4affa6706ed2592a920e..0000000000000000000000000000000000000000 --- a/sonar-project.properties +++ /dev/null @@ -1,17 +0,0 @@ -# SONAR_TOKEN and SONAR_HOST_URL are defined as CI variables - -# Required metadata -sonar.projectKey=lhc-sm-qh -sonar.projectName=lhc-sm-qh - -# Comma-separated paths to directories with sources (required) -sonar.sources=lhcsmapi -sonar.python.coverage.reportPaths=cov.xml -# Language -sonar.language=py - -# Encoding of the source files -sonar.sourceEncoding=UTF-8 - -# Failing if the quality gate is not passed -sonar.qualitygate.wait=true