From a1e137ff1885d17c498638dc739941e76bfe2a9c Mon Sep 17 00:00:00 2001 From: spoltier Date: Thu, 3 Dec 2020 17:41:43 +0100 Subject: [PATCH] #105 param OS + version, skip vignettes --- .github/workflows/ci-tests.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index cc743b98..efc94f85 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -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, @@ -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) @@ -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")