-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
coverage: Specify modules to run coverage for #11592
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
Conversation
573b65f to
02942b0
Compare
bb5c3c3 to
334c21c
Compare
|
I'll wait for the test to re-run, but it looks like the CI failures are flakes and this is otherwise passing as expected. @AA-Turner Who's the best person other than me to review this and try get it into 7.3/8.0? |
|
fwiw, I came up with this after spotting the gap while trying to use coverage for a project I contribute to. After testing, it seemed to do what I expected and highlighted a whole load of missing documentation. |
picnixz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need some extra tests?
334c21c to
3d87303
Compare
Yes, we do. Added now |
9b75042 to
31829a9
Compare
picnixz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just so that you know, I didn't review the doc content.
Thanks. I think I have addressed everything now? |
|
I think so. At least I don't have anything more in mind, except the todo for the doc but as you mentioned, it'll be another PR |
AA-Turner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, two notes
A
ca6ad22 to
34c02ff
Compare
|
@AA-Turner this is done now |
34c02ff to
d474029
Compare
Currently, the coverage builder lets you check for partially documented modules, but there is no mechanism to identify totally undocumented modules. Resolve this by introducing a new 'coverage_modules' config option. This is a list of modules that should be documented somewhere within the documentation tree. Any modules that are specified in the configuration value but are not documented anywhere will result in a warning. Likewise, any modules that are not in the config option but are documented somewhere will result in a warning. Signed-off-by: Stephen Finucane <[email protected]>
This prevent the table changing every time we generate the report. Signed-off-by: Stephen Finucane <[email protected]>
We migrate the code we're measuring coverage for to a package so we can validate the new module coverage functionality. Signed-off-by: Stephen Finucane <[email protected]>
Signed-off-by: Stephen Finucane <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
3a799d2 to
c16453e
Compare
|
Thanks! A |
Feature or Bugfix
Feature
Purpose
Currently, the coverage builder lets you check for partially documented modules, but there is no mechanism to identify totally undocumented modules. Resolve this by introducing a new
coverage_modulesconfig option. This is a list of modules that should be documented somewhere within the documentation tree. Any modules that are specified in the configuration value but are not documented anywhere will result in a warning. Likewise, any modules that are not in the config option but are documented somewhere will result in a warning.Detail
(none)
Relates
(none)