Skip to content

ci: migrate R-CMD-check to the org reusable workflow - #42

Closed
eliotmcintire wants to merge 48 commits into
developmentfrom
ci/migrate-to-org-workflow
Closed

ci: migrate R-CMD-check to the org reusable workflow#42
eliotmcintire wants to merge 48 commits into
developmentfrom
ci/migrate-to-org-workflow

Conversation

@eliotmcintire

Copy link
Copy Markdown
Contributor

Replaces this repo's hand-rolled matrix with a thin caller on PredictiveEcology/actions/.github/workflows/R-CMD-check.yaml@main.

58 → 27 lines.

Why

Third-party action versions, system dependencies, caching and the check itself were maintained separately in 17 repos. This repo was on actions/checkout@v4; the org spread was v2/v4/v5/v6/v7. Node 20 deprecation warnings are the current symptom. Consolidated, bumping it once in actions updates every repo.

Customizations preserved

OMP_THREAD_LIMIT=4 via the new extra-env input (thread contention in tests), and oldrel-2 on Ubuntu and Windows via extra-config.

Dropped deliberately

Nothing. Gains the no-suggests leg.

Depends on PredictiveEcology/actions#27 (per-leg extra-env).

🤖 Generated with Claude Code

https://claude.ai/code/session_012DVjmY3im9Xak7tXLSMGCa

eliotmcintire and others added 16 commits June 11, 2023 17:59
Without a `codecov: branch:` setting, Codecov falls back to `master`. This
repo's default branch is `main` and `master` does not exist, so the repo
total was computed from nothing and read far below the real figure.

SpaDES.tools already carried this fix; propagating it to the rest of the
packages whose default branch is main. Applied to both main and development
so the branches do not drift.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Replaces this repo's hand-rolled matrix with a thin caller, so third-party
action versions, system dependencies, caching and the check itself are
maintained in one place instead of 17. Bumping actions/checkout there now
updates every repo at once.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012DVjmY3im9Xak7tXLSMGCa
eliotmcintire and others added 2 commits August 31, 2026 17:09
The org concurrency budget is shared across every PredictiveEcology repo and is
the binding constraint on getting work through. These legs added R versions
below the default matrix; testing older R is explicitly not worth the runner
contention it causes.

oldrel-N is relative, so the default matrix's floor still rises on its own with
each R release -- no standing commitment to any particular old version.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012DVjmY3im9Xak7tXLSMGCa
@eliotmcintire

Copy link
Copy Markdown
Contributor Author

Superseded by #44, which migrates all four workflows to the org reusable templates on current main.

This branch is CONFLICTING, covers three of the four workflows (leaving revdeps.yaml hand-rolled on a stale install-spatial-deps@v0.3 pin), and carries unrelated DESCRIPTION, NEWS.md, README.md, cran-comments.md and CRAN-SUBMISSION changes.

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.

3 participants