diff --git a/.github/workflows/test_sonarcloud.yml b/.github/workflows/test_sonarcloud.yml index 66b5538..934d468 100644 --- a/.github/workflows/test_sonarcloud.yml +++ b/.github/workflows/test_sonarcloud.yml @@ -3,9 +3,9 @@ name: Test SonarCloud on: workflow_dispatch: pull_request: -# push: -# branches: -# - main + push: + branches: + - main # schedule: # cron: "0 13 * * 1" # Every monday at 13h diff --git a/.sonar-project.properties b/.sonar-project.properties index 3e43a26..6ae148f 100644 --- a/.sonar-project.properties +++ b/.sonar-project.properties @@ -16,3 +16,8 @@ sonar.tests=test #sonar.cfamily.llvm-cov.reportPath=build/test/coverage.txt sonar.coverageReportPaths=build/test/unit/CMakeFiles/openemsh_coverage.dir/sonarqube_report_coverage.xml sonar.testExecutionReportPaths=build/test/unit/CMakeFiles/openemsh_unittest.dir/sonarqube_report_test.xml + +sonar.issue.ignore.multicriteria=e1 +# "/*" and "//" should not be used within comments +sonar.issue.ignore.multicriteria.e1.ruleKey=cpp:S1103 +sonar.issue.ignore.multicriteria.e1.resourceKey=**/*