diff --git a/.clang-tidy b/.clang-tidy index 92f8412..d28ed7a 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -15,7 +15,6 @@ Checks: > -cppcoreguidelines-macro-usage, -cppcoreguidelines-avoid-do-while -HeaderFilterRegex: '^(Bigfoot)/' ExcludeHeaderFilterRegex: '_generated.*' CheckOptions: diff --git a/.gitea/workflows/sonarqube.yml b/.gitea/workflows/sonarqube.yml index acbd02f..233a50e 100644 --- a/.gitea/workflows/sonarqube.yml +++ b/.gitea/workflows/sonarqube.yml @@ -31,6 +31,9 @@ jobs: - name: Clang-Tidy run: run-clang-tidy -p ./build/Debug/ >> tidy_result.txt + # - name: Infer + # run: infer run --compilation-database build/Debug/compile_commands.json + - name: SonarQube Scan uses: SonarSource/sonarqube-scan-action@v7.0.0 with: diff --git a/.inferconfig b/.inferconfig new file mode 100644 index 0000000..0e0dcd2 --- /dev/null +++ b/.inferconfig @@ -0,0 +1,3 @@ +{ + +} \ No newline at end of file diff --git a/sonar-project.properties b/sonar-project.properties index 59b564d..e9c5e81 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -9,5 +9,6 @@ sonar.tests=Bigfoot/Tests sonar.cxx.file.suffixes=.hpp,.cpp,.h sonar.cxx.clangtidy.reportPaths=tidy_result.txt +sonar.cxx.infer.reportPaths=infer-out/report.json sonar.cxx.jsonCompilationDatabase.analyzeOnlyContainedFiles=True \ No newline at end of file