Submit 5.2.0 to CRAN #53
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Pre-Merge Checks | |
| on: | |
| # Trigger the workflow when a PR is opened/updated against the default or | |
| # any stable release branch. | |
| pull_request: | |
| branches: | |
| - main | |
| - '*-stable' | |
| # Trigger the workflow when commits are pushed to a stable release branch. | |
| # Because they are protected branches this workflow is effectively triggered | |
| # by three events: | |
| # 1. When a stable release branch is initially created/pushed. | |
| # 2. When a PR against the default or any stable release branch is opened/updated. | |
| # 3. When a PR against the default or any stable release branch is merged. | |
| push: | |
| branches: | |
| - main | |
| - '*-stable' | |
| # Allow the workflow to be triggered manually. | |
| workflow_dispatch: | |
| jobs: | |
| check-package: | |
| # Override the default job name to differentiate it from similar jobs in | |
| # other workflows. | |
| name: "check-package (r2u)" | |
| # Use the `satijalab/seurat-ci` Docker image as the runner environment. | |
| # This image is pre-configured with everything required for running | |
| # integration checks, for more details, see | |
| # https://hub.docker.com/repository/docker/satijalab/seurat-ci/general. | |
| runs-on: ubuntu-latest | |
| container: | |
| image: satijalab/seurat-ci:latest | |
| steps: | |
| # Pull the latest changes from the repository down to the runner. | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| # Install the package and all its dependencies using scripts from | |
| # `littler`, see https://eddelbuettel.github.io/littler/ for details. | |
| - name: Install Dependencies | |
| run: installDeps.r -s | |
| # Run CRAN checks, if any ERRORs or WARNINGs are raised the check fails. | |
| - name: Run Checks | |
| run: rcmdcheck::rcmdcheck(args = "--as-cran", error_on="warning") | |
| shell: Rscript {0} |