Skip to content

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

Merged
abitmore merged 2 commits intodevelopfrom
update-sonar
Apr 1, 2023
Merged

Update code coverage report settings in sonar-scan workflow#2742
abitmore merged 2 commits intodevelopfrom
update-sonar

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
@sonarqubecloud
Copy link

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