From 43baa4bdbf39c5bb76f688c6040f39592193cbcb Mon Sep 17 00:00:00 2001 From: Martin Studer Date: Mon, 28 Oct 2024 14:16:48 +0100 Subject: [PATCH] debug windows --- .github/workflows/ci-tests.yml | 60 +++++++++++++++++----------------- tests/testthat/setup.R | 9 +++++ 2 files changed, 39 insertions(+), 30 deletions(-) diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 1154261..24802b5 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -25,36 +25,36 @@ jobs: fail-fast: false matrix: config: - - os-name: ubuntu - os-version: latest - java: 17 - spark: "3.5" - r-version: release - - os-name: ubuntu - os-version: latest - java: 8 - spark: "2.4" - r-version: devel - - os-name: ubuntu - os-version: "22.04" - java: 11 - spark: "3.0" - r-version: oldrel - - os-name: macos - os-version: latest - java: 8 - spark: "3.2" - r-version: release - - os-name: macos - os-version: latest - java: 17 - spark: "3.4" - r-version: devel - - os-name: windows - os-version: latest - java: 8 - spark: "3.1" - r-version: oldrel + # - os-name: ubuntu + # os-version: latest + # java: 17 + # spark: "3.5" + # r-version: release + # - os-name: ubuntu + # os-version: latest + # java: 8 + # spark: "2.4" + # r-version: devel + # - os-name: ubuntu + # os-version: "22.04" + # java: 11 + # spark: "3.0" + # r-version: oldrel + # - os-name: macos + # os-version: latest + # java: 8 + # spark: "3.2" + # r-version: release + # - os-name: macos + # os-version: latest + # java: 17 + # spark: "3.4" + # r-version: devel + # - os-name: windows + # os-version: latest + # java: 8 + # spark: "3.1" + # r-version: oldrel - os-name: windows os-version: "2022" java: 17 diff --git a/tests/testthat/setup.R b/tests/testthat/setup.R index e60357a..1e708a1 100644 --- a/tests/testthat/setup.R +++ b/tests/testthat/setup.R @@ -6,3 +6,12 @@ bigquery_defaults( ) options(spark.version = Sys.getenv("SPARK_VERSION", "3.5")) + +config <- sparklyr::spark_config() +config$sparklyr.log.invoke <- "TRUE" + +sc <- sparklyr::spark_connect( + master = "local", + version = getOption("spark.version"), + config = config +)