diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index a9b88df..4a8cef7 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -148,7 +148,7 @@ jobs: ADC: ${{ secrets.GCLOUD_APPLICATION_CREDENTIALS }} shell: bash run: | - echo $ADC > ${{ github.workspace }}/adc.json + echo $ADC > $BIGQUERY_APPLICATION_CREDENTIALS - name: Run R CMD check uses: r-lib/actions/check-r-package@v2 diff --git a/tests/testthat/setup.R b/tests/testthat/setup.R index e60357a..ec8cf0b 100644 --- a/tests/testthat/setup.R +++ b/tests/testthat/setup.R @@ -5,4 +5,6 @@ bigquery_defaults( serviceAccountKeyFile = Sys.getenv("BIGQUERY_APPLICATION_CREDENTIALS") ) +print(.Options) + options(spark.version = Sys.getenv("SPARK_VERSION", "3.5"))