This is the special .github repository for the Waldron Lab GitHub organization. It contains two types of shared resources:
profile/README.md is displayed on the Waldron Lab's public GitHub organization page. It introduces the lab, its research focus (cancer genomics, microbiome profiling, and biostatistics), and community resources such as BugSigDB and the Microbiome Virtual International Forum.
Reusable GitHub Actions workflows live in .github/workflows/ and can be called from any repository in the organization.
A reusable workflow for Bioconductor R packages that performs the following steps on both pull requests and branch pushes:
R CMD check— runsrcmdcheckagainst the package.- BiocCheck — runs
BiocCheckto enforce Bioconductor-specific guidelines. - Test coverage — collects coverage with
covrondevelbranch pushes and uploads results to Codecov (optional, requiresCODECOV_TOKENsecret). - pkgdown site — builds and deploys a
pkgdownsite to GitHub Pages when pushing to aRELEASE_*branch (optional, enabled by default). - Docker image — builds and pushes a Docker image to Docker Hub when a
Dockerfileis present and pushing to thedevelbranch (optional, requiresDOCKERHUB_USERNAMEandDOCKERHUB_TOKENsecrets).
Call this workflow from a repository in the organization with:
jobs:
bioc-check:
uses: waldronlab/.github/.github/workflows/bioc-pr-cmdcheck-pkgdown.yml@devel
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}| Input | Type | Default | Description |
|---|---|---|---|
cran |
string |
https://p3m.dev/cran/__linux__/noble/latest |
CRAN-like repository URL |
enable_pkgdown |
boolean |
true |
Build and deploy pkgdown site on RELEASE_* branch pushes |
enable_docker |
boolean |
true |
Build and push Docker image on devel branch pushes |
dockerfile_path |
string |
inst/docker/pkg/Dockerfile |
Path to the Dockerfile to build |