Skip to content

Commit

Permalink
chore: Add github package spec for autotest to CI YAML
Browse files Browse the repository at this point in the history
  • Loading branch information
simpar1471 committed Nov 9, 2024
1 parent 335ab51 commit 993c542
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 993c542

Please sign in to comment.