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

coverage diff in pull requests #1

Open
sdarwin opened this issue Dec 16, 2022 · 2 comments
Open

coverage diff in pull requests #1

sdarwin opened this issue Dec 16, 2022 · 2 comments

Comments

@sdarwin
Copy link
Collaborator

sdarwin commented Dec 16, 2022

To discuss next year.

One aspect of the overall "reskin coverage reports" project is to add "coverage diffs in pull requests".

The script in this repo https://github.com/cppalliance/ci-automation/blob/master/scripts/gcov-compare.py compares two gcovr summary json files such as these example files https://github.com/cppalliance/ci-automation/blob/master/examples/summary.1.json and outputs the coverage diff as a plain text file https://634.url.prtest2.cppalliance.org/gcovr/coverage_diff.txt

To be done: add html and javascript such that the diff is shown as a colorful graphical chart instead of merely numbers.

The new script could be added here in gcov-compare.py, in the output section. Instead of only generating numbers, as currently, it will print the data embedded in a formatted web page with other features.

cc @vinniefalco @gregnewman

@sdarwin
Copy link
Collaborator Author

sdarwin commented Jan 14, 2025

The script gcov-compare.py creates "coverage diffs".
The appearance of that may be improved.
See earlier comments.
cc. @rbbeeston @GregKaleka

@sdarwin
Copy link
Collaborator Author

sdarwin commented Jan 14, 2025

Codecov used to display a "colorful graphical chart", inspired by the amount of code coverage difference, so that was the feature..

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

No branches or pull requests

1 participant