mirror of
https://github.com/dbt-labs/dbt-project-evaluator.git
synced 2025-12-18 02:11:27 +00:00
rename files, set all commands
This commit is contained in:
69
tox.ini
69
tox.ini
@@ -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
|
||||
Reference in New Issue
Block a user