Skip to content

Commit

Permalink
#105 param OS + version, skip vignettes
Browse files Browse the repository at this point in the history
  • Loading branch information
spoltier committed Dec 3, 2020
1 parent fce8669 commit a1e137f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ on:

jobs:
build:
runs-on: ${{ matrix.config.os }}
runs-on: ${{ matrix.config.os-name }}-${{ matrix.config.os-version }}
strategy:
matrix:
config:
- os: ubuntu-18.04 # windows-2019, macos-10.15]
- os-name: ubuntu # windows-2019, macos-10.15]
os-version: "18.04"
r-version: 4 #, 3.5, 3.6]
# test against latest update of each major Java version, as well as specific updates of LTS versions:
java: 15 # 8, 11.0.x,
Expand Down Expand Up @@ -73,7 +74,7 @@ jobs:
while read -r cmd
do
eval sudo $cmd
done < <(Rscript -e 'writeLines(remotes::system_requirements("ubuntu", "16.04"))')
done < <(Rscript -e 'writeLines(remotes::system_requirements("${{ matrix.config.os-name }}", "${{ matrix.config.os-version }}"))')
- name: Install dependencies
run: |
remotes::install_deps(dependencies = TRUE)
Expand All @@ -91,7 +92,7 @@ jobs:
env:
_R_CHECK_CRAN_INCOMING_: false
FULL_TEST_SUITE: 1
run: rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran"), error_on = "warning", check_dir = "check")
run: rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran", "--no-build-vignettes"), error_on = "warning", check_dir = "check")
shell: Rscript {0}

# run: rcmdcheck::rcmdcheck(args = c("--no-manual"), error_on = "error")
Expand Down

0 comments on commit a1e137f

Please sign in to comment.