From 9d0b18db425f4788adca9a08f5f8e887fe74948b Mon Sep 17 00:00:00 2001 From: rafapereirabr Date: Fri, 5 Apr 2024 19:38:13 -0300 Subject: [PATCH] using find_snap JDK on cmd-check --- .github/workflows/R-CMD-check.yaml | 7 +++++-- r-package/tests/testthat/test-z_r5r_cache.R | 1 - 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index cc54ace6..9216453a 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -52,10 +52,13 @@ jobs: - uses: r-lib/actions/setup-pandoc@v2 - name: Java setup - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: + distribution: 'temurin' java-version: '21' - java-package: jdk + cache: 'gradle' + - run: ./gradlew build + - name: Query dependencies run: | diff --git a/r-package/tests/testthat/test-z_r5r_cache.R b/r-package/tests/testthat/test-z_r5r_cache.R index becf82fb..5a741695 100644 --- a/r-package/tests/testthat/test-z_r5r_cache.R +++ b/r-package/tests/testthat/test-z_r5r_cache.R @@ -3,7 +3,6 @@ context("r5r_cache") # skip tests because they take too much time skip_if(Sys.getenv("TEST_ONE") != "") testthat::skip_on_cran() -testthat::skip_if_not_installed("arrow") try(silent = TRUE, r5r::stop_r5())