Pulled out lint+docs as its own workflow; Other workflows ignore docs folder#340
Pulled out lint+docs as its own workflow; Other workflows ignore docs folder#340rkingsbury merged 5 commits intomainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #340 +/- ##
=======================================
Coverage 86.42% 86.42%
=======================================
Files 14 14
Lines 1856 1856
Branches 322 322
=======================================
Hits 1604 1604
Misses 207 207
Partials 45 45 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Thanks @vineetbansal . Is there any way to make one workflow depend on the outcome of another? (e.g., only run If not, I'm ok with this as-is. It looks like this will make |
|
I think this latest change will work - the testing* workflows essentially re-use the Since the Claude Code helped me refactor this, and it looks like it was correct. However, one of the links through |
Oh, I think that's coming from a link in a docstring that Shaun added in #317 , but it's only a warning triggered by a redirect Can we suppress or ignore that type of warning in the link check? I don't think it makes sense to fail the docs test just because some links use redirects (and we will use a lot of DOI links, which almost always redirect) |
|
This is great! Now that you (and Claude Code!) figured this out, can you move docs into a completely separate workflow, so that This looks like it will be straightforward to do, given the architecture you've created for |
|
@rkingsbury - I've split the For the redirect check - I feel like once we've said that we're treating warnings like errors, we shouldn't ignore any warnings (better to not treat them as errors if we're going that way). For redirects, its usually easy to fix these one-off warnings as we encounter them. I've fixed the one we just encountered. However, if this becomes a constant CI headache with DOI links, then perhaps we can tackle this later as an isolated issue? |
|
EDIT: I think I now remember a similar issue from another project. Is our concern that we would rather link to |
Exactly! I generally consider the DOI links to be the "canonical" and more permanent ones. |
|
(and yes, happy to tackle that in another issue; I don't expect it will come up that often) |
If we are to skip regular testing (unpinned or pinned) on changes to
docs/, the cleanest solution seems to be to pull it out as its own workflow (github allows ignoring at the workflow level, otherwise theifconditions get messy).