Skip to content

Commit a1d6e3a

Browse files
authored
fix: testing sonarqube scan args (#1971)
Signed-off-by: Stephen Mackenzie <[email protected]>
1 parent f522b69 commit a1d6e3a

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/sonarcloud.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,12 @@ jobs:
1414
- name: SonarQube Scan
1515
uses: SonarSource/sonarqube-scan-action@2500896589ef8f7247069a56136f8dc177c27ccf #v5.2.0
1616
env:
17-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
17+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
18+
args: >
19+
-Dsonar.organization="academysoftwarefoundation"
20+
-Dsonar.projectKey="AcademySoftwareFoundation_rez"
21+
-Dsonar.projectName="rez"
22+
-Dsonar.sources="src/"
23+
-Dsonar.tests="tests/"
24+
-Dsonar.exclusions="sonar.exclusions=src/build_utils/**,src/rez/data/**,src/rez/tests/**,src/rez/vendor/**"
25+
-Dsonar.python.version="3.7, 3.8, 3.9, 3.10, 3.11, 3.12"

0 commit comments

Comments
 (0)