Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 0 additions & 25 deletions .buildkite/hooks/pre-command

This file was deleted.

74 changes: 0 additions & 74 deletions .buildkite/pipeline.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .buildkite/scripts/run_models.sh

This file was deleted.

50 changes: 0 additions & 50 deletions integration_tests/ci/sample.profiles.yml

This file was deleted.

28 changes: 28 additions & 0 deletions integration_tests/ci/test_scenarios.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Test scenarios configuration for app_reporting dbt package
# This file defines the different test scenarios to run during CI/CD

# Required: The dbt variable name that controls which schema to use for testing
schema_variable_name: "app_reporting_schema"

# Test scenarios - FIRST MUST BE DEFAULT WITH NO VARS
dbt_adapter_versions:
snowflake: ">=1.3.0,<2.0.0"
bigquery: ">=1.3.0,<2.0.0"
postgres: ">=1.3.0,<2.0.0"
redshift: ">=1.3.0,<2.0.0"
databricks: ">=1.6.0,<2.0.0"

test_scenarios:

# REQUIRED: Default scenario with no custom variables
- name: "Default"
vars: {}
include_incremental: false

# Additional scenario with subscriptions and earnings enabled
- name: "subscriptions and earnings enabled"
vars:
apple_store__using_subscriptions: true
google_play__using_earnings: true
google_play__using_subscriptions: true
include_incremental: false
73 changes: 71 additions & 2 deletions integration_tests/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,83 @@ seeds:
show: False
app_reporting_integration_tests:
+quote_columns: "{{ true if target.type == 'redshift' else false }}"
+column_types:
_fivetran_synced: timestamp
app_crash_daily:
+column_types:
_fivetran_synced: timestamp
app_session_standard_daily:
+column_types:
_fivetran_synced: timestamp
app_store_app:
+column_types:
_fivetran_synced: timestamp
app_store_discovery_and_engagement_standard_daily:
+column_types:
_fivetran_synced: timestamp
app_store_download_standard_daily:
+column_types:
_fivetran_synced: timestamp
app_store_installation_and_deletion_standard_daily:
+column_types:
_fivetran_synced: timestamp
earnings:
+column_types:
_fivetran_synced: timestamp
financial_stats_subscriptions_country:
+column_types:
_fivetran_synced: timestamp
sales_subscription_event_summary:
+column_types:
_fivetran_synced: timestamp
sales_subscription_summary:
+column_types:
_fivetran_synced: timestamp
stats_crashes_app_version:
+column_types:
_fivetran_synced: timestamp
stats_crashes_os_version:
+column_types:
_fivetran_synced: timestamp
stats_crashes_overview:
+column_types:
_fivetran_synced: timestamp
stats_installs_app_version:
+column_types:
_fivetran_synced: timestamp
stats_installs_country:
+column_types:
_fivetran_synced: timestamp
stats_installs_device:
+column_types:
_fivetran_synced: timestamp
stats_installs_os_version:
+column_types:
_fivetran_synced: timestamp
stats_installs_overview:
+column_types:
_fivetran_synced: timestamp
active_device_installs: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
stats_ratings_app_version:
+column_types:
_fivetran_synced: timestamp
app_version_code: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
stats_ratings_country:
+column_types:
_fivetran_synced: timestamp
stats_ratings_device:
+column_types:
_fivetran_synced: timestamp
stats_ratings_os_version:
+column_types:
_fivetran_synced: timestamp
stats_ratings_overview:
+column_types:
_fivetran_synced: timestamp
stats_store_performance_country:
+column_types:
_fivetran_synced: timestamp
stats_store_performance_traffic_source:
+column_types:
_fivetran_synced: timestamp
flags:
send_anonymous_usage_stats: False
use_colors: True