CI/Documentation philosophies
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 15/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- github-actions
- Domain
- ci-cd, documentation
Research direction
Start with the linked Spectra.jl pull request and compare the referenced .github/workflows/CI.yml, Documentation.yml, docs/make.jl, and test/runtests.jl patterns. The issue has no selected repository change or acceptance criteria; done would require a decided workflow convention and an agreed update scope.
Written by the indexing model from the issue text.
Description
Hey folks, this is prompted by an interesting discussion (at least to me) going on over in: https://github.com/JuliaAstro/Spectra.jl/pull/38
Not to editorialize too much, but there seems to be a tale of two workflows:
CI.yml and Documentation.yml
Sometimes spelled a different way, and sometimes only one in place of the other, their differences I still think could be worth discussing, at least for the sake of transparency for new folks.
I think I am currently seeing the following three major camps on this topic, but would appreciate some input:
- All in one: Package tests, doc tests, doc build, and doc deployment are all rolled into a single, monolithic
CI.ymlfile. - Separate workflows, mixed intent: Separate
CI.ymlandDocumentation.ymlfiles exist, but doctests are run under theDocumentationworkflow - All in one, separate intent: Still the monolithic
CI.ymlfile, but doctests are disabled in the doc build and enabled in test CI instead.
And of course there are permutations of the above, combined with Aqua.jl and ExplicitImports.jl, which is another reason I wanted to open this discussion.
At least personally, I was originally leaning towards Camp 2 because we could always just include a separate documentation badge in addition to our usual CI badges to signal that doctests are passing. After these insightful comments from Chris though, I am now thinking that a modified version of Camps 2 and 3 may be a good way forward. In other words, Separate workflows, separate intent: separate CI and doc workflows, with doctests disabled in the doc build, and instead run as part of the test suite.
At the risk of going on a tangent, this is all technically "CI" at the end of the day anyway, no? So wouldn't it make sense to rename CI.yml to something like Test.yml as well? Update: Yep, this looks to be the convention that BestieTemplates follows. Glad I'm not going crazy
Do other folks have thoughts about this? Have I been staring at this for too long? Thanks for coming to my TED talk.
- Dominant language
- No language data
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from JuliaAstro/fireplace
-
domain: organisation purpose: proposal
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
JuliaAstro/fireplace#7 · 2 comments ·
-
FLOSS/fundOpendomain: organisation purpose: proposal
Difficulty 4/5 3-5 days Newbie friendliness 35/100
JuliaAstro/fireplace#6 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
JuliaAstro/fireplace#1 · 1 comment · 3 reactions ·
-
domain: packages purpose: proposal
Difficulty 5/5 Over a week Newbie friendliness 15/100
JuliaAstro/fireplace#3 · 6 comments ·
-
domain: organisation purpose: proposal
Difficulty 5/5 Over a week Newbie friendliness 30/100
JuliaAstro/fireplace#2 ·
All issues in JuliaAstro/fireplace
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
area:specs area:tests area:workflow bug repro:high triaged
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Terry-Mao/AICodingFlow#378 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
openwatersio/slackwater#603 ·
Maintainers usually reply within 1 day
-
Action: a `test` glob with a gem older than 1.9.0 fails with `no such file` and no version hintOpenbacklog enhancement github_actions priority: low risk: low
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
davidteren/mutineer#646 ·
Maintainers usually reply within 1 day
-
area: ops bug impact: low priority: P3 size: XS
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
eddiejaoude/StackDash#785 ·
Maintainers usually reply within 1 day