Skip to content

[DevOps] Enable code coverage#21

Open
juliamauri wants to merge 208 commits intomainfrom
code-coverage
Open

[DevOps] Enable code coverage#21
juliamauri wants to merge 208 commits intomainfrom
code-coverage

Conversation

@juliamauri
Copy link
Copy Markdown
Collaborator

This pull request includes multiple changes to the CI/CD workflow and build configuration to support cross-platform builds and enable code coverage reporting. The most important changes include updates to the sonarcloud.yml workflow file and modifications to the CMakeLists.txt file.

CI/CD Workflow Updates:

  • .github/workflows/sonarcloud.yml: Updated the job matrix to support both Windows and Linux builds, including setting specific environment variables and build wrappers for each OS.
  • .github/workflows/sonarcloud.yml: Added steps to install dependencies for Linux and Windows separately, ensuring the correct tools and compilers are available for each platform.
  • .github/workflows/sonarcloud.yml: Modified the Create sonar-project.properties step to use bash instead of PowerShell and added logic to include coverage report paths for Linux builds.
  • .github/workflows/sonarcloud.yml: Added steps to run tests and generate coverage reports specifically for Linux builds.

Build Configuration:

  • CMakeLists.txt: Introduced an option to enable code coverage reporting, including adding coverage flags, debug symbols, and disabling optimizations when the option is enabled.

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.

2 participants