From b84f2d976af1ecd54a93af0901f8a5c357e1e255 Mon Sep 17 00:00:00 2001 From: schuemie Date: Fri, 4 Oct 2024 09:41:12 +0200 Subject: [PATCH] Noting reason for disabling Databricks on Linux. Updading checkout action to v4 --- .github/workflows/R_CMD_check_Hades.yaml | 4 ++-- .github/workflows/R_CMD_check_main_weekly.yaml | 2 +- tests/testthat/setup.R | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/R_CMD_check_Hades.yaml b/.github/workflows/R_CMD_check_Hades.yaml index eff83020..73ecbc34 100644 --- a/.github/workflows/R_CMD_check_Hades.yaml +++ b/.github/workflows/R_CMD_check_Hades.yaml @@ -65,7 +65,7 @@ jobs: CDM_BIG_QUERY_OHDSI_SCHEMA: ${{ secrets.CDM_BIG_QUERY_OHDSI_SCHEMA }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Java if: runner.os != 'Linux' @@ -133,7 +133,7 @@ jobs: steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/R_CMD_check_main_weekly.yaml b/.github/workflows/R_CMD_check_main_weekly.yaml index a3fdd3a2..a5c24070 100644 --- a/.github/workflows/R_CMD_check_main_weekly.yaml +++ b/.github/workflows/R_CMD_check_main_weekly.yaml @@ -52,7 +52,7 @@ jobs: CDM5_SPARK_OHDSI_SCHEMA: ${{ secrets.CDM5_SPARK_OHDSI_SCHEMA }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Java uses: actions/setup-java@v4 diff --git a/tests/testthat/setup.R b/tests/testthat/setup.R index 6bef3e64..e03f6abd 100644 --- a/tests/testthat/setup.R +++ b/tests/testthat/setup.R @@ -137,6 +137,8 @@ testServers[[length(testServers) + 1]] <- list( ) # Databricks (Spark) +# Databricks is causing segfault errors on Linux. Temporary workaround is not to test on +# Linux if (.Platform$OS.type == "windows") { testServers[[length(testServers) + 1]] <- list( connectionDetails = details <- createConnectionDetails(