diff --git a/.drone.yml b/.drone.yml index 95751c2..9d06415 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,7 +11,8 @@ steps: - npm install - npm run test - sonar-scanner -Dsonar.projectKey=Learnihon -Dsonar.sources=. -Dsonar.host.url=$${PLUGIN_SONAR_HOST} - -Dsonar.login=$${PLUGIN_SONAR_TOKEN} -Dsonar.javascript.lcov.reportPaths=./test/coverage/lcov.info + -Dsonar.login=$${PLUGIN_SONAR_TOKEN} -Dsonar.javascript.lcov.reportPaths=./test/coverage/lcov.info + -Dsonar.exclusions=src./test/coverage/lcov-report/** secrets: [ SONAR_TOKEN ] settings: sonar_host: https://codefirst.iut.uca.fr/sonar/