Skip to content

Install optional tools only when used; drop single-element matrix - #35

Merged
lwaldron merged 2 commits into
mainfrom
speed-up-default-path
Oct 21, 2026
Merged

lwaldron merged 2 commits into
mainfrom
speed-up-default-path

Conversation

@lwaldron

Copy link
Copy Markdown
Collaborator

Closes #34. Reviewed by an opus subagent in two rounds instead of Copilot; all findings addressed.

  • covr, pkgdown and cyclocomp are installed only when the corresponding feature runs in that job. pkgdown, the expensive one, is now skipped on every PR and on non-release pushes even when enable_pkgdown: true. Its condition lives in a job-level INSTALL_PKGDOWN env var shared by the install, build and upload steps, and is part of the cache key so a cache saved by a run without pkgdown isn't reused by one that needs it.
  • The one-element strategy matrix is gone. The set-matrix job is now setup and emits docker_tag as a plain string.
  • canary.yml enables cyclocomp so one of the conditional branches runs weekly.
  • ADR 0010 (Proposed, needs your approval before it becomes Accepted) records the decision. ADR 0008's status line notes which points it supersedes; ADR 0001 drops "Matrix" from its title.

One thing to know: without the matrix, the check job is displayed as check rather than check (devel). Any caller with a required status check named after the old form would need to update it. Since this is pre-release, I haven't added a doc note for it.

Verification: YAML parses, actionlint passes. The canary run after merge is the real test.


🤖 Generated with Claude Code

Closes #34.

- covr, pkgdown and cyclocomp are installed only when the corresponding
  feature runs. pkgdown's condition is a job-level INSTALL_PKGDOWN env var
  shared by the install, build and upload steps and included in the cache key.
- Remove the one-element strategy matrix; rename the set-matrix job to setup
  and pass docker_tag as a plain string.
- Canary enables cyclocomp so one conditional branch is exercised weekly.
- ADR 0010 (Proposed) records the decision; ADR 0008 and 0001 updated.

Co-Authored-By: Claude <noreply@anthropic.com>
@lwaldron
lwaldron force-pushed the speed-up-default-path branch from 0b6ee62 to d80dc4b Compare October 21, 2026 17:41
@lwaldron
lwaldron force-pushed the speed-up-default-path branch from d80dc4b to 8d41196 Compare October 21, 2026 17:42
@lwaldron
lwaldron merged commit 40928bf into main Oct 21, 2026
1 check passed
@lwaldron
lwaldron deleted the speed-up-default-path branch October 21, 2026 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Speed up the default bioccheck.yml path: conditional installs and drop single-element matrix

1 participant