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

Set up code coverage #120

Closed
Morwenn opened this issue Jan 11, 2018 · 2 comments
Closed

Set up code coverage #120

Morwenn opened this issue Jan 11, 2018 · 2 comments
Assignees
Labels
Milestone

Comments

@Morwenn
Copy link
Owner

Morwenn commented Jan 11, 2018

codecov.io doesn't seem too hard to use thanks to GitHub extensions.

The idea would be to have a dedicated build with -O0 to make code coverage easier. I don't think that testing every path for every compiler or OS is worth it, I'll wait for some time to see which builds are the fastest now that we switch from Catch to Catch2: it used to be g++ builds but now clang++ builds seem to be faster. Not sure whether it has something to do with the cache, so I'll wait a bit more before deciding.

@Morwenn Morwenn self-assigned this Jan 11, 2018
@Morwenn
Copy link
Owner Author

Morwenn commented Jan 16, 2018

g++ on Linux seems to be the fastest when the cache is hot, so that will be the target for the coverage branch.

EDIT: apparently it's due to ccache not working properly with Clang without workarounds. I will have to handle that first.

@Morwenn Morwenn added this to the 1.1.0 milestone Jan 20, 2018
Morwenn added a commit that referenced this issue Feb 6, 2018
Set up code coverage (fixes #120)
@Morwenn
Copy link
Owner Author

Morwenn commented Feb 6, 2018

Fixed by 74f4a7b

@Morwenn Morwenn closed this as completed Feb 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant