From e8382da2a1cced4d1272f99fa46e1ed8924db736 Mon Sep 17 00:00:00 2001 From: Andy Teucher Date: Tue, 5 Jul 2022 13:53:42 -0700 Subject: [PATCH] GHA: only check donttest examples on one platform --- .github/workflows/cmd-check.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cmd-check.yaml b/.github/workflows/cmd-check.yaml index e582badb..4f21677b 100644 --- a/.github/workflows/cmd-check.yaml +++ b/.github/workflows/cmd-check.yaml @@ -16,12 +16,12 @@ jobs: fail-fast: false matrix: config: - - { os: windows-latest, r: 'release', args: "'--no-manual'"} - - { os: macOS-latest, r: 'release', args: "'--no-manual'"} - - { os: ubuntu-18.04, r: '3.5', rspm: "https://packagemanager.rstudio.com/cran/__linux__/bionic/latest", args: "'--no-manual'"} - - { os: ubuntu-18.04, r: 'oldrel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/bionic/latest", args: "'--no-manual'"} - - { os: ubuntu-18.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/bionic/latest", args: "''"} - - { os: ubuntu-18.04, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/bionic/latest", args: "'--no-manual'"} + - { os: windows-latest, r: 'release', args: "'--no-manual'", rundonttest: "false"} + - { os: macOS-latest, r: 'release', args: "'--no-manual'", rundonttest: "false"} + - { os: ubuntu-18.04, r: '3.5', rspm: "https://packagemanager.rstudio.com/cran/__linux__/bionic/latest", args: "'--no-manual'", rundonttest: "false"} + - { os: ubuntu-18.04, r: 'oldrel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/bionic/latest", args: "'--no-manual'", rundonttest: "false"} + - { os: ubuntu-18.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/bionic/latest", args: "''", rundonttest: "true"} + - { os: ubuntu-18.04, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/bionic/latest", args: "'--no-manual'", rundonttest: "false"} env: R_REMOTES_NO_ERRORS_FROM_WARNINGS: true @@ -31,6 +31,7 @@ jobs: BCDC_KEY: ${{ secrets.BCDC_KEY }} BCDC_TEST_RECORD: ${{ secrets.BCDC_TEST_RECORD }} cache-version: v6 + _R_CHECK_DONTTEST_EXAMPLES_: ${{ matrix.config.rundonttest }} steps: - uses: actions/checkout@v2