Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update code coverage report settings in sonar-scan workflow #2742

Merged
merged 2 commits into from
Apr 1, 2023

Conversation

abitmore
Copy link
Member

@abitmore abitmore commented Mar 31, 2023

Changs:

  • Call gcovr with --exclude-throw-branches in CI. For branch coverage, exclude branches that the compiler generates for exception handling, to generate more "sensible" coverage reports.
  • Exclude programs and tests from coverage reports.

For branch coverage, exclude branches that the compiler generates for
exception handling, to generate more "sensible" coverage reports.
@abitmore abitmore changed the title Call gcovr with --exclude-throw-branches in CI Update code coverage report settings in sonar-scan overflow Mar 31, 2023
@sonarcloud
Copy link

sonarcloud bot commented Mar 31, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@abitmore abitmore merged commit 3f5c6c4 into develop Apr 1, 2023
@abitmore abitmore deleted the update-sonar branch April 1, 2023 14:47
@abitmore abitmore changed the title Update code coverage report settings in sonar-scan overflow Update code coverage report settings in sonar-scan workflow May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant