Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/tbates/umx
Browse files Browse the repository at this point in the history
  • Loading branch information
tbates committed Nov 17, 2024
2 parents 64cbf2d + 3d57857 commit 66e67cd
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions .github/workflows/r.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
#
# See https://github.com/r-lib/actions/tree/master/examples#readme for
# additional example workflows available for the R community.

name: R
name: Build umx for R

on:
push:
Expand All @@ -22,19 +14,30 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
r-version: ['3.6.3', '4.1.1']

r-version: ['4.2', '4.4.1']
steps:
- uses: actions/cache@v3
- uses: actions/checkout@v4
with:
path: ~/.R/library
key: ${{ runner.os }}-r-${{ matrix.r-version }}-${{ hashFiles('**/DESCRIPTION') }}
restore-keys: |
${{ runner.os }}-r-${{ matrix.r-version }}-
${{ runner.os }}-r-
- name: Set up R ${{ matrix.r-version }}
uses: r-lib/actions/setup-r@f57f1301a053485946083d7a45022b278929a78a
uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.r-version }}
- name: Install dependencies
run: |
install.packages(c("remotes", "rcmdcheck"))
install.packages(c("remotes", "rcmdcheck", "covr"))
remotes::install_deps(dependencies = TRUE)
shell: Rscript {0}
- name: Check
run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error")
- name: Check package
run: |
rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error")
devtools::check()
shell: Rscript {0}
- name: Code Coverage
run: covr::codecov()
shell: Rscript {0}

0 comments on commit 66e67cd

Please sign in to comment.