Skip to content

Call the shared CTTIR workflows - #2

Merged
r-heller merged 1 commit into
mainfrom
chore/shared-workflows
Aug 22, 2026
Merged

Call the shared CTTIR workflows#2
r-heller merged 1 commit into
mainfrom
chore/shared-workflows

Conversation

@r-heller

Copy link
Copy Markdown
Collaborator

Converts this package to the shared CTTIR workflows (CTTIR/.github#2), validated by the hexmakR pilot (CTTIR/hexmakR#3).

What changes

  • R-CMD-check gains an oldrel-3 job, so the R version DESCRIPTION actually claims to support is built, and passes --as-cran.
  • test-coverage computes its gate in the workflow with covr and an explicit exit instead of delegating to Codecov, and uploads with fail_ci_if_error: true. Nine of 22 repos currently report active: false, totals: null to Codecov behind a green build, because a deactivated Codecov fails nothing.
  • lint is new, running the CTTIR house naming linters. Report-only — turning it on as a gate would red five repositories on day one.

Deliberately conservative

floor: 0 on coverage, so this changes the measurement without adding a gate. Set a real floor once each package is re-baselined — the old configs used target: auto, threshold: 1%, which compares only against the base commit and so permits unlimited decay in 1% steps.

pkgdown, api-lock and any repo-specific workflows are untouched.

Replaces copied R-CMD-check and test-coverage YAML with caller stubs and
adds the house lint workflow. Behaviour that comes with the shared
versions: an oldrel-3 job so the R version DESCRIPTION claims is actually
built, --as-cran, a coverage gate computed with covr and an explicit exit
rather than delegated to Codecov, and fail_ci_if_error on upload.

Coverage floor is 0 for now - this fixes the measurement, not the gate.
Lint is report-only.
@r-heller
r-heller merged commit 5516d3e into main Aug 22, 2026
9 checks passed
@r-heller
r-heller deleted the chore/shared-workflows branch August 22, 2026 12:59
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.

1 participant