From 8785a9ec47d95032471f7b29f2b91c721d90d4a8 Mon Sep 17 00:00:00 2001 From: Florian Zumpe Date: Wed, 17 Jun 2026 12:18:20 +0200 Subject: [PATCH] =?UTF-8?q?sonarscanner=20unterscheidet=20nach=20tests=20u?= =?UTF-8?q?nd=20anwendung=20und=20l=C3=A4sst=20externe=20Module=20au=C3=9F?= =?UTF-8?q?en=20vor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/sonar-scanner.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitea/workflows/sonar-scanner.yaml b/.gitea/workflows/sonar-scanner.yaml index 14d58c0..3eb6e7a 100644 --- a/.gitea/workflows/sonar-scanner.yaml +++ b/.gitea/workflows/sonar-scanner.yaml @@ -49,6 +49,10 @@ jobs: -Dsonar.sources=. \ -Dsonar.host.url=$SONAR_HOST_URL \ -Dsonar.javascript.lcov.reportPaths=coverage/js/lcov.info + -Dsonar.sources=src,public,scripts,server.js,tools/python + -Dsonar.tests=test + -Dsonar.test.inclusions=test/**/*.test.js + -Dsonar.exclusions=public/vendor/**,node_modules/**,data/**,storage/** # If you wish to fail your job when the Quality Gate is red, uncomment the # following lines. This would typically be used to fail a deployment.