Skip to content

Commit

Permalink
CI : sonar : enable analysis on main branch & disable cpp:S1103 rule
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaslepoix committed Dec 13, 2024
1 parent 09e19fe commit 5420321
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test_sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 5 additions & 0 deletions .sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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=**/*

0 comments on commit 5420321

Please sign in to comment.