-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
31 lines (29 loc) · 726 Bytes
/
Copy pathtox.ini
File metadata and controls
31 lines (29 loc) · 726 Bytes
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
[tox]
skipsdist = True
envlist = lint_all, testenv
[testenv]
passenv =
# snowflake env vars
SNOWFLAKE_USER
SNOWFLAKE_WAREHOUSE
SNOWFLAKE_ROLE
SNOWFLAKE_DATABASE
SNOWFLAKE_SCHEMA
SNOWFLAKE_ACCOUNT
DBT_ENV_SECRET_SNOWFLAKE_PASS
# 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
sleep
skip_install = true
commands =
dbt deps
dbt run-operation prep_structure
dbt run --full-refresh
dbt test --select tag:structural
dbt run-operation insert_data
sleep 120
dbt test --select tag:data