Compare commits

...
Author SHA1 Message Date
Valentin 1cca4f130c chore(ci): ajoute la couverture de tests au job test du frontend
Frontend / build (push) Successful in 10m14s
Frontend / test (push) Failing after 5m1s
Frontend / SonarQube (push) Skipped
2026-09-17 13:55:17 +02:00
+6 -6
View File
@@ -36,13 +36,13 @@ jobs:
node-version: 24 node-version: 24
cache: npm cache: npm
cache-dependency-path: apps/frontend/package-lock.json cache-dependency-path: apps/frontend/package-lock.json
- run: npm ci - run: npm ci
working-directory: apps/frontend working-directory: apps/frontend
- run: npm run build - run: npm run build
working-directory: apps/frontend working-directory: apps/frontend
test: test:
needs: build needs: build
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@@ -52,9 +52,9 @@ jobs:
node-version: 24 node-version: 24
cache: npm cache: npm
cache-dependency-path: apps/frontend/package-lock.json cache-dependency-path: apps/frontend/package-lock.json
- run: npm ci - run: npm ci
working-directory: apps/frontend working-directory: apps/frontend
- run: npm test -- --watch=false - run: npm test -- --watch=false --coverage
working-directory: apps/frontend working-directory: apps/frontend
sonarqube: sonarqube:
@@ -70,7 +70,7 @@ jobs:
env: env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
# deploy: # deploy:
# runs-on: ubuntu-latest # runs-on: ubuntu-latest
# steps: # steps: