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

Add coverage workflow #120

Merged
merged 4 commits into from
Jan 8, 2025
Merged

Add coverage workflow #120

merged 4 commits into from
Jan 8, 2025

Conversation

stephprince
Copy link
Collaborator

Fix #70.

Generates a code coverage report and uploads to codecov.io using the cmake coverage preset.

@codecov-commenter
Copy link

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@stephprince
Copy link
Collaborator Author

@oruebel this is ready to review.

My main concern is that the coverage is not configured correctly to exclude the tests folders. When running locally, the current configuration generates a report using only the files in the src folder. However the "Upload coverage to Codecov" logs on the actions workflow seem to indicate the tests folder is still being included. We may need to merge this PR into the default branch to get the coverage reports fully set up to confirm.

@stephprince stephprince marked this pull request as ready for review January 7, 2025 20:27
@stephprince stephprince requested a review from oruebel January 7, 2025 20:27
@stephprince stephprince merged commit a532ec5 into main Jan 8, 2025
10 checks passed
@stephprince stephprince deleted the add-coverage branch January 8, 2025 18:36
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.

Add code coverage workflow
3 participants