-
Notifications
You must be signed in to change notification settings - Fork 71
/
tox.ini
88 lines (81 loc) · 2.13 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
[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
# snowflake env vars
SNOWFLAKE_ACCOUNT
SNOWFLAKE_USER
DBT_ENV_SECRET_SNOWFLAKE_PASS
SNOWFLAKE_ROLE
SNOWFLAKE_DATABASE
SNOWFLAKE_WAREHOUSE
SNOWFLAKE_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
# databricks
DATABRICKS_SCHEMA
DATABRICKS_HOST
DATABRICKS_HTTP_PATH
DBT_ENV_SECRET_DATABRICKS_TOKEN
# Snowflake integration tests for centralized dbt testing
# run dbt commands directly, assumes dbt is already installed in environment
[testenv:dbt_integration_snowflake]
allowlist_externals =
bash
skip_install = true
commands =
bash ./run_tox_tests.sh snowflake
# Postgres integration tests for centralized dbt testing
# run dbt commands directly, assumes dbt is already installed in environment
[testenv:dbt_integration_postgres]
allowlist_externals =
bash
skip_install = true
commands =
bash ./run_tox_tests.sh postgres
# BigQuery integration tests for centralized dbt testing
# run dbt commands directly, assumes dbt is already installed in environment
[testenv:dbt_integration_bigquery]
allowlist_externals =
bash
skip_install = true
commands =
bash ./run_tox_tests.sh bigquery
# redshift integration tests for centralized dbt testing
# run dbt commands directly, assumes dbt is already installed in environment
[testenv:dbt_integration_redshift]
allowlist_externals =
bash
skip_install = true
commands =
bash ./run_tox_tests.sh redshift
# note that duckdb is not a supported dbt target for dbt Cloud testing
[testenv:dbt_integration_duckdb]
allowlist_externals =
bash
skip_install = true
commands =
bash ./run_tox_tests.sh duckdb
[testenv:dbt_integration_databricks]
allowlist_externals =
bash
skip_install = true
commands =
bash ./run_tox_tests.sh databricks