Skip to content

ci: Sync R-CMD-check workflow from cynkratemplate - #592

Closed
krlmlr wants to merge 4 commits into
mainfrom
claude/gha-env-var-setup-ej3a28
Closed

ci: Sync R-CMD-check workflow from cynkratemplate#592
krlmlr wants to merge 4 commits into
mainfrom
claude/gha-env-var-setup-ej3a28

Conversation

@krlmlr

@krlmlr krlmlr commented Jul 27, 2026

Copy link
Copy Markdown
Member

Sync .github/workflows/R-CMD-check.yaml and
.github/workflows/versions-matrix/action.R from cynkratemplate
(cynkra/cynkratemplate#95):
the rcc-full job now applies the generic env field
of test matrix entries to $GITHUB_ENV itself,
before the custom actions run,
because composite actions cannot read the matrix context.
This repo does not use the env field,
so behavior is unchanged;
the sync keeps the workflow identical across template consumers
and makes the generic mechanism available
without any custom amendments.

An earlier revision of this PR also installed tzdata-legacy
to fix the PST8PDT failures in the DBItest timestamp specs;
that fix landed on main independently as #593
and this branch now carries main's version of the step
(conflict resolved in its favor).

🤖 Generated with Claude Code

https://claude.ai/code/session_0136C9bRMjBGkUrtLdkYNmAg

Sync .github/workflows/R-CMD-check.yaml and
.github/workflows/versions-matrix/action.R from cynkratemplate
(cynkra/cynkratemplate#95).
The rcc-full job now applies the generic "env" field
of test matrix entries to $GITHUB_ENV itself,
before the custom actions run,
because composite actions cannot read the matrix context.

This repo does not use the "env" field,
so behavior is unchanged;
the sync keeps the workflow identical across template consumers
and makes the generic mechanism available
without any custom amendments.
Ubuntu 26.04 moved the legacy System V-style time zones
into the separate tzdata-legacy package.
DBItest's timestamp roundtrip specs call
lubridate::with_tz(tzone = "PST8PDT"),
which warns "Unrecognized time zone" when the zone is missing,
and testthat promotes the warning to a failure —
the rcc-smoke job has been failing this way on main
since the runners moved to ubuntu-26.04.
Install tzdata-legacy in the custom before-install action,
mirroring the same fix in duckdb-r.
@krlmlr krlmlr changed the title ci: Sync R-CMD-check workflow from cynkratemplate ci: Sync R-CMD-check workflow; fix PST8PDT failures via tzdata-legacy Jul 27, 2026
Resolve the conflict in the custom before-install action
in favor of main's tzdata-legacy step (#593),
which supersedes the equivalent step added on this branch.
@krlmlr krlmlr changed the title ci: Sync R-CMD-check workflow; fix PST8PDT failures via tzdata-legacy ci: Sync R-CMD-check workflow from cynkratemplate Jul 27, 2026
@krlmlr krlmlr closed this Jul 27, 2026
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.

2 participants