From 4ee477a4adf8cedff60486c583d5a8eae8544758 Mon Sep 17 00:00:00 2001 From: Laysa de Sousa Bitencourt Date: Thu, 12 Sep 2024 14:35:03 -0300 Subject: [PATCH] added dbt default target --- .github/workflows/dbt-checks.yml | 1 + integration_tests/profiles.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dbt-checks.yml b/.github/workflows/dbt-checks.yml index c82211d..2c38d26 100644 --- a/.github/workflows/dbt-checks.yml +++ b/.github/workflows/dbt-checks.yml @@ -9,6 +9,7 @@ on: - main env: + DBT_DEFAULT_TARGET: databricks DBT_PROFILES_DIR: ${{ github.workspace }}/integration_tests DBT_PROJECT_DIR: ${{ github.workspace }}/integration_tests DATABRICKS_TEST_CATALOG: ${{ vars.DATABRICKS_TEST_CATALOG }} diff --git a/integration_tests/profiles.yml b/integration_tests/profiles.yml index d585e2f..12ff2ef 100644 --- a/integration_tests/profiles.yml +++ b/integration_tests/profiles.yml @@ -1,5 +1,5 @@ integration_tests: - target: databricks + target: "{{ env_var('DBT_DEFAULT_TARGET', 'databricks')}}" outputs: snowflake: type: snowflake