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

Customization of code reports #1596

Open
rbbeeston opened this issue Jan 13, 2025 · 1 comment
Open

Customization of code reports #1596

rbbeeston opened this issue Jan 13, 2025 · 1 comment
Assignees

Comments

@rbbeeston
Copy link
Member

This is codecov: https://about.codecov.io/
What we have can be seen here, it's an alternative: boostorg/url#861 . Find on the page GCOVR.
That is already working. It could be enhanced so the gcovr report is more customized in appearance. But otherwise, the mechanism is already in place.

What the web developers might get involved in, is customizing the layout, the colors, the arrangement, the css stylesheets.

There's a server instance running Jenkins. The code it uses has been migrated into this repository: https://github.com/cppalliance/jenkins-ci

Any time a codecov-type job should be set up, I would add that to the server. Some scripts also reside in https://github.com/cppalliance/ci-automation/tree/master/scripts

What needs to be done...
when the job runs, it's generating a plain "lcov" report. And a plain "gcovr" report. So, two pages.
It could be enhanced so the gcovr report is more customized in appearance.

This is what enabled customization. gcovr/gcovr#758

Dev process:
Here is a script which is called: https://github.com/cppalliance/ci-automation/blob/master/scripts/lcov-jenkins.sh
It's slightly tricky to get a development environment set up that's running that.
But once it's set up, you can work on the stylesheets and so on, of the output files.

Fork a repo such as boostorg/url. Sam can add that to Jenkins. Then, push trivial updates as often as needed.

@rbbeeston rbbeeston converted this from a draft issue Jan 13, 2025
@sdarwin
Copy link
Collaborator

sdarwin commented Jan 14, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Accepted
Development

No branches or pull requests

3 participants