test: sonarqube
This commit is contained in:
@@ -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,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
|
||||||
Reference in New Issue
Block a user