From 1a1a4d3f9967fdff6fc51e5545414055ac88a89a Mon Sep 17 00:00:00 2001 From: Jurri Gerretsen <62351599+jurrigerretsen@users.noreply.github.com> Date: Tue, 16 Jan 2024 09:28:25 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Setup=20integration=20test=20fil?= =?UTF-8?q?es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 +-- dbt_project.yml | 12 ++++++++---- integration_tests/dbt_project.yml | 16 ++++++++++++++++ integration_tests/package-lock.yml | 3 +++ integration_tests/packages.yml | 2 ++ 5 files changed, 30 insertions(+), 6 deletions(-) create mode 100644 integration_tests/dbt_project.yml create mode 100644 integration_tests/package-lock.yml create mode 100644 integration_tests/packages.yml diff --git a/.gitignore b/.gitignore index c5b2de6..643fe0d 100644 --- a/.gitignore +++ b/.gitignore @@ -4,5 +4,4 @@ dbt_packages/ logs/ .venv .env -.DS_Store -package-lock.yml \ No newline at end of file +.DS_Store \ No newline at end of file diff --git a/dbt_project.yml b/dbt_project.yml index 0f3aec3..b4aad25 100644 --- a/dbt_project.yml +++ b/dbt_project.yml @@ -1,11 +1,15 @@ name: 'tasman_dbt_revenuecat' version: '0.0.1' -require-dbt-version: [">=1.3.0", "<2.0.0"] - config-version: 2 +require-dbt-version: [">=1.6.0", "<2.0.0"] + +profile: 'tasman_dbt_revenuecat' target-path: "target" -#clean-targets: ["target", "dbt_modules", "dbt_packages"] -macro-paths: ["macros"] +clean-targets: ["target", "dbt_modules", "dbt_packages"] log-path: "logs" + +models: + tasman_dbt_revenuecat: + +materialized: table \ No newline at end of file diff --git a/integration_tests/dbt_project.yml b/integration_tests/dbt_project.yml new file mode 100644 index 0000000..1ba36ec --- /dev/null +++ b/integration_tests/dbt_project.yml @@ -0,0 +1,16 @@ +name: 'tasman_dbt_revenuecat_integration_tests' +version: '1.0' + +config-version: 2 + +profile: 'tasman_integration_tests' + +seed-paths: ["data"] +macro-paths: ["macros"] +target-path: "target" +clean-targets: ["target", "dbt_modules", "dbt_packages"] +log-path: "logs" + +vars: + tasman_dbt_revenuecat: + revenuecat_table: "seed_mocked_transactions" \ No newline at end of file diff --git a/integration_tests/package-lock.yml b/integration_tests/package-lock.yml new file mode 100644 index 0000000..903ffaf --- /dev/null +++ b/integration_tests/package-lock.yml @@ -0,0 +1,3 @@ +packages: +- local: ../ +sha1_hash: de2deba3d66ce03d8c02949013650cc9b94f6030 diff --git a/integration_tests/packages.yml b/integration_tests/packages.yml new file mode 100644 index 0000000..b16d307 --- /dev/null +++ b/integration_tests/packages.yml @@ -0,0 +1,2 @@ +packages: + - local: ../ \ No newline at end of file