test(frontend): sonarqube

This commit is contained in:
ineszang44
2026-09-17 13:04:36 +02:00
parent 41c18a3bb1
commit 11f9b1bcd5
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -43,6 +43,7 @@ jobs:
working-directory: apps/frontend
- run: npm test --watch=false --code-coverage --coverageReporters=lcov
working-directory: apps/frontend
sonarqube:
needs: [build, test]
name: SonarQube
+2 -2
View File
@@ -3,10 +3,10 @@ sonar.organization=groupe3-ener-vision
sonar.sourceEncoding=UTF-8
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
sonar.sources=apps/frontend/src,apps/backend/src
sonar.sources=apps/frontend/src
# Répertoire contenant les TU
sonar.tests=apps/frontend/tests,apps/backend/tests,apps/frontend/tests/**,apps/backend/tests/**
sonar.tests=apps/frontend/src
sonar.test.inclusions=**/*.spec.ts,**/*.test.ts,**/*.spec.js,**/*.test.js
sonar.exclusions=**/node_modules/**,**/dist/**,**/coverage/**