-
Notifications
You must be signed in to change notification settings - Fork 300
Run linkchecks regularly, instead of on PRs #6386
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
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.
Please see SciTools/.github#62
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.
Please see SciTools/.github#63
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.
Please see SciTools/.github#64
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6386 +/- ##
=======================================
Coverage 89.80% 89.80%
=======================================
Files 90 90
Lines 23752 23752
Branches 4418 4418
=======================================
Hits 21331 21331
Misses 1672 1672
Partials 749 749 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Please see SciTools/.github#65
trexfeathers
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.
A few changes for you, and one possible show-stopper.
Co-authored-by: Martin Yeo <[email protected]>
Co-authored-by: Martin Yeo <[email protected]>
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.
Please see SciTools/.github#66
|
Super, thanks for this exciting improvement @pp-mo! |
I consider the requested scitools-ci actions to be completed, except for SciTools/.github#65, which we will keep open until we have a MANIFEST.in template - planned for the future.
* Add lychee-based linkcheck workflow. * Remove old nox-based per-PR linkcheck. * Remove nox-linkcheck from python-version-checks test. * Configure manifest to exclude the linkcheck ignores file. * Update .github/workflows/ci-linkchecks.yml Co-authored-by: Martin Yeo <[email protected]> * Update .github/workflows/ci-linkchecks.yml Co-authored-by: Martin Yeo <[email protected]> * Add links badge to README. * Test urls in all files python, exclude or replace failing urls in python. * Run checks every day, including weekends. * Apply Iris-friendly labels to linkcheck failure Issues. --------- Co-authored-by: Martin Yeo <[email protected]>
Replaces the nox-based, per-PR link check with an occasional scheduled (or manually triggered) linkcheck.
This is based on "lychee", which can check the RSTs directly
Pros:
Cons:
:pep:,:PR:, and:Issue:, as seen (mostly) in whatsnews.github.com, but I have been able to re-include them by limiting the ignore github.com/[^/]*$, as the damage seemed to be mostly done by all the user ids