Skip to content

ci: bumped minimum tested version to 4.2.3 #150

ci: bumped minimum tested version to 4.2.3

ci: bumped minimum tested version to 4.2.3 #150

Workflow file for this run

name: R-CMD-check
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
R-CMD-check:
strategy:
fail-fast: false
matrix:
config:
- {os: windows-latest, r: 'devel'}
- {os: macOS-latest, r: 'oldrel'}
- {os: macOS-latest, r: 'release'}
- {os: ubuntu-22.04, r: 'oldrel'}
- {os: ubuntu-22.04, r: 'release'}
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
runs-on: ${{ matrix.config.os }}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: true
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
use-public-rspm: true
- name: Install dependencies
uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck, any::covr
needs: check, coverage
- name: Check
uses: r-lib/actions/check-r-package@v2
- name: Test coverage
if: success() && runner.os == 'Linux' && matrix.config.r == 'release'
run: covr::codecov(type = "all")
shell: Rscript {0}