Skip to content

Version bump

Version bump #264

Workflow file for this run

on:
push:
branches:
pull_request:
branches:
- master
- devel
name: R-CMD-check
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ matrix.config.bioc-version }})
strategy:
fail-fast: false
matrix:
config:
- { os: windows-2022, bioc-version: 'devel', bioc-mirror: 'https://ftp.gwdg.de/pub/misc/bioconductor'}
- { os: macOS-11, bioc-version: 'devel', bioc-mirror: 'https://ftp.gwdg.de/pub/misc/bioconductor'}
- { os: ubuntu-20.04, bioc-version: 'devel', bioc-mirror: 'https://ftp.gwdg.de/pub/misc/bioconductor'}
- { os: ubuntu-20.04, bioc-version: 'release', bioc-mirror: 'https://packagemanager.rstudio.com/bioconductor'}
steps:
## R CMD check complains about Windows line endings without this
- name: Configure git
run: |
git config --global core.autocrlf false
- name: Install system libraries
if: runner.os == 'Linux'
run: |
sudo apt-get update && sudo apt-get install libcurl4-openssl-dev
- uses: actions/checkout@v3
- name: Setup R and Bioconductor
uses: grimbough/bioc-actions/setup-bioc@v1
with:
bioc-version: ${{ matrix.config.bioc-version }}
bioc-mirror: ${{ matrix.config.bioc-mirror }}
- uses: r-lib/actions/setup-pandoc@v2
- name: Install dependencies
uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: |
covr
rcmdcheck
- name: Bioc - Build, Install, Check
uses: grimbough/bioc-actions/build-install-check@v1
- name: Run BiocCheck
uses: grimbough/bioc-actions/run-BiocCheck@v1
with:
error-on: 'never'
arguments: '--no-check-bioc-help'
- name: Test coverage
if: runner.os == 'Windows'
run: |
covr::codecov()
shell: Rscript {0}