🚨 Fixed code-analysis argument to use python coverage report instead of generic report
continuous-integration/drone/push Build is passing Details

master
Alix JEUDI--LEMOINE 4 months ago
parent 84e2c499c1
commit 2fffd68fda

@ -49,7 +49,7 @@ steps:
commands:
- pip install -r tests/requirements.txt
- pytest
- /opt/sonar-scanner/bin/sonar-scanner -Dsonar.login=$PLUGIN_SONAR_TOKEN -Dsonar.projectKey=SAE3A_MemoryMap-api -Dsonar.coverage.exclusions="tests/**" -Dsonar.python.version=3 -Dsonar.coverageReportPaths="coverage.xml" -Dsonar.core.codeCoveragePlugin=cobertura
- /opt/sonar-scanner/bin/sonar-scanner -Dsonar.login=$PLUGIN_SONAR_TOKEN -Dsonar.projectKey=SAE3A_MemoryMap-api -Dsonar.coverage.exclusions="tests/**" -Dsonar.python.version=3 -Dsonar.python.coverage.reportPaths="coverage.xml"
settings:
sonar_token:
from_secret: SECRET_SONAR_TOKEN

Loading…
Cancel
Save