generated from dbt-labs/dbt-oss-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
192 lines (180 loc) · 4.65 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
[tox]
skipsdist = True
envlist = lint_all, testenv
[testenv]
passenv =
# postgres env vars
POSTGRES_HOST
POSTGRES_USER
DBT_ENV_SECRET_POSTGRES_PASS
POSTGRES_PORT
POSTGRES_DATABASE
POSTGRES_SCHEMA
# redshift
REDSHIFT_HOST
REDSHIFT_USER
DBT_ENV_SECRET_REDSHIFT_PASS
REDSHIFT_DATABASE
REDSHIFT_SCHEMA
REDSHIFT_PORT
# bigquery
BIGQUERY_PROJECT
BIGQUERY_KEYFILE_JSON
BIGQUERY_SCHEMA
# snowflake
SNOWFLAKE_ACCOUNT
SNOWFLAKE_USER
DBT_ENV_SECRET_SNOWFLAKE_PASS
SNOWFLAKE_ROLE
SNOWFLAKE_DATABASE
SNOWFLAKE_WAREHOUSE
SNOWFLAKE_SCHEMA
# trino
TRINO_METHOD
TRINO_USER
DBT_ENV_SECRET_TRINO_PASS
TRINO_HOST
TRINO_PORT
TRINO_CATALOG
TRINO_SCHEMA
TRINO_TIMEZONE
# databricks
DATABRICKS_SCHEMA
DATABRICKS_HOST
DATABRICKS_HTTP_PATH
DBT_ENV_SECRET_DATABRICKS_TOKEN
# spark
SPARK_HOST
SPARK_SCHEMA
SPARK_USER
SPARK_METHOD
SPARK_PORT
# fabric
FABRIC_DRIVER
FABRIC_HOST
FABRIC_PORT
FABRIC_DATABASE
FABRIC_SCHEMA
FABRIC_AUTHENTICATION
FABRIC_TENANT
FABRIC_CLIENT
DBT_ENV_SECRET_FABRIC_CLIENT_SECRET
# synapse
SYNAPSE_DRIVER
SYNAPSE_HOST
SYNAPSE_PORT
SYNAPSE_DATABASE
SYNAPSE_SCHEMA
SYNAPSE_AUTHENTICATION
SYNAPSE_TENANT_ID
SYNAPSE_CLIENT_ID
DBT_ENV_SECRET_SYNAPSE_CLIENT_SECRET
# athena
ATHENA_S3_STAGING_DIR
ATHENA_S3_DATA_DIR
ATHENA_S3_DATA_NAMING
ATHENA_REGION_NAME
ATHENA_SCHEMA
ATHENA_DATABASE
DBT_ENV_SECRET_ATHENA_AWS_ACCESS_KEY_ID
DBT_ENV_SECRET_ATHENA_AWS_SECRET_ACCESS_KEY
# Postgres integration tests for centralized dbt testing
# run dbt commands directly, assumes dbt is already installed in environment
[testenv:dbt_integration_postgres]
changedir = integration_tests
allowlist_externals =
dbt
skip_install = true
commands =
dbt --version
dbt debug --target postgres
# redshift integration tests for centralized dbt testing
# run dbt commands directly, assumes dbt is already installed in environment
[testenv:dbt_integration_redshift]
changedir = integration_tests
allowlist_externals =
dbt
skip_install = true
commands =
dbt --version
dbt debug --target redshift
# BigQuery integration tests for centralized dbt testing
# run dbt commands directly, assumes dbt is already installed in environment
[testenv:dbt_integration_bigquery]
changedir = integration_tests
allowlist_externals =
dbt
skip_install = true
commands =
dbt --version
dbt debug --target bigquery
# Snowflake integration tests for centralized dbt testing
# run dbt commands directly, assumes dbt is already installed in environment
[testenv:dbt_integration_snowflake]
changedir = integration_tests
allowlist_externals =
dbt
skip_install = true
commands =
dbt --version
dbt debug --target snowflake
# Trino integration tests for centralized dbt testing
# run dbt commands directly, assumes dbt is already installed in environment
[testenv:dbt_integration_trino]
changedir = integration_tests
allowlist_externals =
dbt
skip_install = true
commands =
dbt --version
dbt debug --target trino
# Databricks integration tests for centralized dbt testing
# run dbt commands directly, assumes dbt is already installed in environment
[testenv:dbt_integration_databricks]
changedir = integration_tests
allowlist_externals =
dbt
skip_install = true
commands =
dbt --version
dbt debug --target databricks
# Spark integration tests for centralized dbt testing
# run dbt commands directly, assumes dbt is already installed in environment
[testenv:dbt_integration_spark]
changedir = integration_tests
allowlist_externals =
dbt
skip_install = true
commands =
dbt --version
dbt debug --target spark
# Fabric integration tests for centralized dbt testing
# run dbt commands directly, assumes dbt is already installed in environment
[testenv:dbt_integration_fabric]
changedir = integration_tests
allowlist_externals =
dbt
skip_install = true
commands =
dbt --version
dbt debug --target fabric
# Synapse integration tests for centralized dbt testing
# run dbt commands directly, assumes dbt is already installed in environment
[testenv:dbt_integration_synapse]
changedir = integration_tests
allowlist_externals =
dbt
skip_install = true
commands =
dbt --version
dbt debug --target synapse
# Athena integration tests for centralized dbt testing
# run dbt commands directly, assumes dbt is already installed in environment
[testenv:dbt_integration_athena]
changedir = integration_tests
allowlist_externals =
dbt
skip_install = true
commands =
dbt --version
dbt debug --target athena