Run on PR and Push #10
@@ -33,6 +33,9 @@ jobs:
|
|||||||
|
|
||||||
- name: SonarQube Scan
|
- name: SonarQube Scan
|
||||||
uses: SonarSource/sonarqube-scan-action@v7.0.0
|
uses: SonarSource/sonarqube-scan-action@v7.0.0
|
||||||
|
with:
|
||||||
|
args: >
|
||||||
|
-Dsonar.cxx.jsonCompilationDatabase=./build/Debug/compile_commands.json
|
||||||
env:
|
env:
|
||||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||||
SONAR_HOST_URL: ${{ secrets.SONAR_HOST }}
|
SONAR_HOST_URL: ${{ secrets.SONAR_HOST }}
|
||||||
@@ -8,4 +8,6 @@ sonar.sources=Bigfoot/Sources
|
|||||||
sonar.tests=Bigfoot/Tests
|
sonar.tests=Bigfoot/Tests
|
||||||
|
|
||||||
sonar.cxx.file.suffixes=.hpp,.cpp,.h
|
sonar.cxx.file.suffixes=.hpp,.cpp,.h
|
||||||
sonar.cxx.clangtidy.reportPaths=tidy_result.txt
|
sonar.cxx.clangtidy.reportPaths=tidy_result.txt
|
||||||
|
|
||||||
|
sonar.cxx.jsonCompilationDatabase.analyzeOnlyContainedFiles=True
|
||||||
Reference in New Issue
Block a user