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 data in GH Actions #3413

Open
felixschurk opened this issue Apr 28, 2024 · 2 comments
Open

Coverage data in GH Actions #3413

felixschurk opened this issue Apr 28, 2024 · 2 comments

Comments

@felixschurk
Copy link
Contributor

When looking, what accidentally happened in #3271, e.g. kicking out the python tests, I guess it would make sense to have some coverage data available in the repository, automatically build by GH Actions on every PR. To provide a broad overview and an easy to see metric for incoming PRs.

As I can see, this was available in #1984, but probably got lost when transitioning to GitHub.
Maybe it can also be used when new functionality is added to have some feedback if it is tested or not.

I guess a starting point would be to use Code Coverage Summary actions and instrument the code accordingly and collecting the data over gcovr.
In order not to blow the complete GH Actions maybe it would make sense to run it only after the test were successful and maybe also only in one image (Debian, Ubuntu or Fedora) as the coverage should not change depending on the OS.

@djmitche
Copy link
Collaborator

I think that makes a lot of sense, and particularly the intent to have it wait for successful tests. Noticing when coverage drops dramatically would be very useful.

@felixschurk
Copy link
Contributor Author

I will work on it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants