We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12693ec commit de89138Copy full SHA for de89138
1 file changed
.github/workflows/sonarqube.yml
@@ -12,8 +12,21 @@ jobs:
12
steps:
13
- uses: actions/checkout@v4
14
with:
15
- fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
+ fetch-depth: 0
16
+
17
+ - name: Run tests with coverage
18
+ working-directory: PintudosFront
19
+ run: npm run test -- --coverage
20
21
- name: SonarQube Scan
22
uses: SonarSource/sonarqube-scan-action@v5
23
24
env:
25
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
26
+ with:
27
+ projectKey: PINTUDOS-ARSW_PintudosFront
28
+ organization: pintando
29
+ extraProperties: |
30
+ sonar.sources=src
31
+ sonar.sourceEncoding=UTF-8
32
+ sonar.javascript.lcov.reportPaths=coverage/lcov.info
0 commit comments