From 993c542c216584e4fb9d9d22b28c7b42ce601e13 Mon Sep 17 00:00:00 2001 From: Simon Parker <65285181+awadafuk@users.noreply.github.com> Date: Sat, 9 Nov 2024 02:45:26 +0000 Subject: [PATCH] chore: Add github package spec for autotest to CI YAML --- .github/workflows/R-CMD-check.yaml | 4 +++- .github/workflows/pkgdown.yaml | 3 ++- .github/workflows/test-coverage.yaml | 8 +++----- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index a3ac618..9ed36b4 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -41,7 +41,9 @@ jobs: - uses: r-lib/actions/setup-r-dependencies@v2 with: - extra-packages: any::rcmdcheck + extra-packages: | + github::ropensci-review-tools/autotest + any::rcmdcheck needs: check - uses: r-lib/actions/check-r-package@v2 diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index 5acb689..49691bc 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -32,7 +32,8 @@ jobs: - uses: r-lib/actions/setup-r-dependencies@v2 with: - extra-packages: | + extra-packages: | + github::ropensci-review-tools/autotest any::pkgdown any::tidyr any::viridis diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index 513a5a5..8259b06 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -21,13 +21,11 @@ jobs: with: use-public-rspm: true - - name: Install autotest from Github - run: | - Rscript -e "pak::pkg_install('ropensci-review-tools/autotest')" - - uses: r-lib/actions/setup-r-dependencies@v2 with: - extra-packages: any::covr + extra-packages: | + github::ropensci-review-tools/autotest + any::covr needs: coverage - name: Test coverage