test(frontend): sonarqube
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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/**
|
||||
|
||||
Reference in New Issue
Block a user