Skip to content

Commit

Permalink
rename files, set all commands
Browse files Browse the repository at this point in the history
  • Loading branch information
emmyoop committed Nov 13, 2024
1 parent 77d26a3 commit f9e8040
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 53 deletions.
File renamed without changes.
67 changes: 14 additions & 53 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
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]
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 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

0 comments on commit f9e8040

Please sign in to comment.