Skip to content

Commit 9fe4e37

Browse files
committed
adding sonar keys
1 parent 8b6695c commit 9fe4e37

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

‎.github/workflows/main.yml‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,17 @@ jobs:
140140
uses: SonarSource/sonarqube-scan-action@22918119ff8e1ca75a623e15c8296b6ea4fbe28f # v8.2.1
141141
env:
142142
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
143+
with:
144+
projectBaseDir: .
145+
args: >
146+
-Dsonar.organization=phalcon
147+
-Dsonar.projectKey=phalcon_annotations
148+
-Dsonar.sources=src
149+
-Dsonar.tests=tests
150+
-Dsonar.exclusions=resources/**
151+
-Dsonar.php.coverage.reportPaths=tests/_output/coverage.xml
152+
-Dsonar.verbose=true
153+
143154
# Compares this package's parser against the cphalcon C parser docblock by
144155
# docblock. Any difference in the AST or in a thrown message fails the build.
145156
differential:

0 commit comments

Comments
 (0)