Skip to content

Add GitHub Actions CI and release workflows - #10

Merged
dosorio merged 4 commits into
mainfrom
ci/github-actions
Sep 29, 2026
Merged

dosorio merged 4 commits into
mainfrom
ci/github-actions

Conversation

@dosorio

@dosorio dosorio commented Sep 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • CI (.github/workflows/R-CMD-check.yaml): R CMD check on pushes to the default branch, pull requests and manual dispatch. Matrix: macOS, Windows and Ubuntu on R release, plus Ubuntu on R-devel and oldrel-1.
  • CD (.github/workflows/release.yaml): on a version tag (v* or a tag starting with a digit), builds the source tarball, runs R CMD check --as-cran on it and attaches it to a GitHub release.
  • Adds ^\.github$ to .Rbuildignore and an R-CMD-check badge to the README.
  • tests/ is excluded from the build via .Rbuildignore, so R CMD check does not run the tests. The CI workflow adds a separate step that runs the testthat suite from the repository.

Copilot AI balanced review requested due to automatic review settings September 29, 2026 17:57

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

CI skips some non-CRAN tests, while releases can publish without tests and despite check warnings.

Review effort: Balanced
Findings: 3 Medium severity

Open (3)
What changed in this PR

Adds cross-platform R package CI and tag-based release automation.

Changes:

  • Adds R CMD checks and standalone testthat execution.
  • Builds and publishes checked source tarballs.
  • Excludes workflow files from builds and adds a CI badge.
File Description
README.md Adds the CI status badge.
.Rbuildignore Excludes GitHub configuration from source builds.
.github/​workflows/​R-CMD-check.yaml Adds cross-platform R checks and tests.
.github/​workflows/​release.yaml Adds tagged release packaging and publication.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/R-CMD-check.yaml Resolved
Comment thread .github/workflows/release.yaml Resolved
Comment thread .github/workflows/release.yaml Resolved
d-osorio-qdi and others added 3 commits September 29, 2026 13:05
Previously the per-gene median was added to uncorrected data when batch
had fewer than two levels. Now correction is skipped with a warning.
@dosorio
dosorio merged commit ed45f62 into main Sep 29, 2026
5 checks passed
@dosorio
dosorio deleted the ci/github-actions branch October 14, 2026 18:24
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