test: sonarqube

This commit is contained in:
ineszang44
2026-09-17 12:26:04 +02:00
parent 8e07168a5e
commit 34f35f3ca0
2 changed files with 3 additions and 16 deletions
-13
View File
@@ -2,19 +2,6 @@ name: Frontend
# Pipeline à choix multiple # Pipeline à choix multiple
on: on:
# workflow_dispatch -> lancement manuel des jobs
workflow_dispatch:
inputs:
job_choice:
required: true
description: "Choix du job"
type: choice
default: all
options:
- build
- sonarqube
- test
- all # lancer tous les jobs
push: push:
paths: paths:
- "apps/frontend/**" - "apps/frontend/**"
+3 -3
View File
@@ -3,11 +3,11 @@ sonar.organization=groupe3-ener-vision
sonar.sourceEncoding=UTF-8 sonar.sourceEncoding=UTF-8
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
sonar.sources=frontend/src,backend/src sonar.sources=apps/frontend/src,apps/backend/src
# Répertoire contenant les TU # Répertoire contenant les TU
sonar.tests=frontend/tests,backend/tests,frontend/tests/**,backend/tests/** sonar.tests=apps/frontend/tests,apps/backend/tests,apps/frontend/tests/**,apps/backend/tests/**
sonar.javascript.lcov.reportPaths=frontend/coverage/lcov.info,backend/coverage/lcov.info sonar.javascript.lcov.reportPaths=apps/frontend/coverage/lcov.info,apps/backend/coverage/lcov.info
# Encoding of the source code. Default is default system encoding # Encoding of the source code. Default is default system encoding
#sonar.sourceEncoding=UTF-8 #sonar.sourceEncoding=UTF-8