rename files, set all commands

This commit is contained in:
Emily Rockman
2024-11-13 11:37:44 -06:00
parent 77d26a3680
commit f9e80403df
2 changed files with 15 additions and 54 deletions

69
tox.ini
View File

@@ -40,42 +40,23 @@ 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]
changedir = integration_tests
allowlist_externals =
dbt
cd
bash
skip_install = true
commands =
dbt deps --target postgres
dbt build -x --target postgres --full-refresh
# test with the second project
cd ../integration_tests_2
dbt deps --target postgres
dbt seed --full-refresh --target postgres
dbt run -x --target postgres --full-refresh
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]
changedir = integration_tests
allowlist_externals =
dbt
cd
bash
skip_install = true
commands =
dbt deps --target bigquery
dbt build -x --target bigquery --full-refresh
# test with the second project
cd ../integration_tests_2
dbt deps --target bigquery
dbt seed --full-refresh --target bigquery
dbt run -x --target bigquery --full-refresh
bash ./run_tox_tests.sh bigquery
# redshift integration tests for centralized dbt testing
# run dbt commands directly, assumes dbt is already installed in environment
@@ -86,43 +67,23 @@ allowlist_externals =
cd
skip_install = true
commands =
dbt deps --target redshift
dbt build -x --target redshift --full-refresh
# test with the second project
cd ../integration_tests_2
dbt deps --target redshift
dbt seed --full-refresh --target redshift
dbt run -x --target redshift --full-refresh
[testenv:dbt_integration_duckdb]
changedir = integration_tests
allowlist_externals =
dbt
cd
bash
skip_install = true
commands =
dbt deps --target duckdb
dbt build -x --target duckdb --full-refresh
bash ./run_tox_tests.sh redshift
# test with the second project
cd ../integration_tests_2
dbt deps --target duckdb
dbt seed --full-refresh --target duckdb
dbt run -x --target duckdb --full-refresh
# 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]
changedir = integration_tests
allowlist_externals =
dbt
cd
bash
skip_install = true
commands =
dbt deps --target duckdb
dbt build -x --target duckdb --full-refresh
# test with the second project
cd ../integration_tests_2
dbt deps --target duckdb
dbt seed --full-refresh --target duckdb
dbt run -x --target duckdb --full-refresh
bash ./run_tox_tests.sh databricks