-
Notifications
You must be signed in to change notification settings - Fork 237
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
Move linkcheck to a cronjob-style workflow #901
Move linkcheck to a cronjob-style workflow #901
Comments
@cjolowicz I just saw this issue and was thinking about that. There are actually two cases:
Then a CRONjob would be handy for docs workflow.
Then it also makes sense to run linkcheck. Quickly checking triggers documentation I see there could be a condition for each case. Something like:
I also like that you have a separate workflow on cookiecutter for docs. Maybe we could have the same on generated project? |
I like this idea! Some thoughts/suggestions:
|
Worth noting that broken links in docstrings would only be detected by the cronjob. But I'd rather have that than every Dependabot PR failing because some link wasn't reachable. As for |
@cjolowicz I am still not sure about the best overall solution. My idea was to add linkcheck to normal The idea of using About the flake8 checks.. I am not sure. To follow the same train of though, I would compartmentalize and find a way to only run this specific checks on |
The problem with running linkcheck within the Tests workflow is that a broken link will affect every PR, even when unrelated to docs.
Recent cases:
There's also the issue of some links related to our own release not yet available when it's published.
A cronjob-workflow might also be a good idea for running tests with unpinned dependencies, or on the upcoming Python release.
The text was updated successfully, but these errors were encountered: