From f0c4dca7101db2bdef04c9ad04d4c667a4d21347 Mon Sep 17 00:00:00 2001 From: "(Shirlina) Xuan Li" <73819047+zhoumo2716@users.noreply.github.com> Date: Sat, 12 Oct 2024 10:28:32 -0700 Subject: [PATCH] Update R-CMD-check.yaml --- .github/workflows/R-CMD-check.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 8da8c34..7e75cf2 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -43,12 +43,16 @@ jobs: - uses: r-lib/actions/setup-r-dependencies@v2 with: - extra-packages: any::rcmdcheck + extra-packages: any::rcmdcheck devtools testthat needs: check - uses: r-lib/actions/check-r-package@v2 with: upload-snapshots: true build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")' - + + # Run tests using devtools::test() + - name: Run tests + run: | + R -e 'devtools::test()' # This will run all tests in the testthat folder