diff --git a/.github/workflows/R_CMD_check_Hades.yaml b/.github/workflows/R_CMD_check_Hades.yaml index 5a6bb062..d24cce29 100644 --- a/.github/workflows/R_CMD_check_Hades.yaml +++ b/.github/workflows/R_CMD_check_Hades.yaml @@ -21,11 +21,11 @@ jobs: matrix: config: - {os: windows-latest, r: '4.2.3', rtools: '42', rspm: "https://cloud.r-project.org"} - - {os: macOS-latest, r: '4.2.3', rtools: '42', rspm: "https://cloud.r-project.org"} - - {os: ubuntu-20.04, r: '4.2.3', rtools: '42', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"} - - {os: windows-latest, r: 'release', rtools: '', rspm: "https://cloud.r-project.org"} - - {os: macOS-latest, r: 'release', rtools: '', rspm: "https://cloud.r-project.org"} - - {os: ubuntu-20.04, r: 'release', rtools: '', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"} + #- {os: macOS-latest, r: '4.2.3', rtools: '42', rspm: "https://cloud.r-project.org"} + #- {os: ubuntu-20.04, r: '4.2.3', rtools: '42', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"} + #- {os: windows-latest, r: 'release', rtools: '', rspm: "https://cloud.r-project.org"} + #- {os: macOS-latest, r: 'release', rtools: '', rspm: "https://cloud.r-project.org"} + #- {os: ubuntu-20.04, r: 'release', rtools: '', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"} env: GITHUB_PAT: ${{ secrets.GH_TOKEN }} diff --git a/tests/testthat/test-Strategus.R b/tests/testthat/test-Strategus.R index 5df2433e..6b419c84 100644 --- a/tests/testthat/test-Strategus.R +++ b/tests/testthat/test-Strategus.R @@ -43,7 +43,9 @@ test_that("Run unit test study", { resultsConnectionDetailsReference <- NULL resultsDatabaseSchema <- NULL - if (dbms == "sqlite") { + # Only run this code if we're testing on SQLite + # AND we're not running code coverage checks + if (dbms == "sqlite" && identical(tolower(Sys.getenv("R_COVR")), "false")) { resultsConnectionDetailsReference <- "result-store" resultsDatabaseSchema <- "main" Strategus::storeConnectionDetails(