You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Update GH actions to run test for the docs only if there are no changes to the underlying code #401
How feasible is this? What about docstrings that get included from code via autofunction, autoclass, and automodule? Do we know any other project that does this?
I'm not aware of other projects that do it (not that I looked hard into it).
In general, when running testing it feels like there is quite a bit of redundancy in testing the components that were not changed and were not affected. I realise it's not always feasible to build up the dependency links, but would the followng work?
get the list of files with changes/diff
if all files are in docs, then drop testing and only test/build docs.
Activity
eriknw commentedon Apr 4, 2023
How feasible is this? What about docstrings that get included from code via
autofunction,autoclass, andautomodule? Do we know any other project that does this?SultanOrazbayev commentedon Apr 5, 2023
I'm not aware of other projects that do it (not that I looked hard into it).
In general, when running testing it feels like there is quite a bit of redundancy in testing the components that were not changed and were not affected. I realise it's not always feasible to build up the dependency links, but would the followng work?
SultanOrazbayev commentedon Apr 5, 2023
And yes, this won't affect docstrings, so not comprehensive, but at least for doc-specific changes should be faster/more efficient.