diff --git a/tox.ini b/tox.ini index 8dfabb62..1624379d 100644 --- a/tox.ini +++ b/tox.ini @@ -5,14 +5,14 @@ envlist = lint_all, textenv [testenv] passenv = DBT_PROFILES_DIR - ; postgres env vars + # postgres env vars POSTGRES_TEST_HOST POSTGRES_TEST_USER DBT_ENV_SECRET_POSTGRES_TEST_PASS POSTGRES_TEST_PORT POSTGRES_TEST_DBNAME POSTGRES_TEST_SCHEMA - ; snowflake env vars + # snowflake env vars SNOWFLAKE_TEST_ACCOUNT SNOWFLAKE_TEST_USER DBT_ENV_SECRET_SNOWFLAKE_TEST_PASSWORD @@ -23,7 +23,7 @@ passenv = # Snowflake integration tests for centralized dbt testing -[testenv:centralized_integration_snowflake] +[testenv:dbt_integration_snowflake] changedir = integration_tests allowlist_externals = dbt skip_install = true @@ -37,24 +37,24 @@ commands = # Postgres integration tests for centralized dbt testing # run dbt commands directly, assumes dbt is already installed in environment # tox runs at the root of the repo, so we need to cd out of the integration_tests directory -[testenv:centralized_integration_postgres] +[testenv:dbt_integration_postgres] changedir = integration_tests allowlist_externals = dbt bash - {[testenv:centralized_integration_postgres_pytest]allowlist_externals} + {[testenv:dbt_integration_postgres_pytest]allowlist_externals} skip_install = true -deps = {[testenv:centralized_integration_postgres_pytest]deps} +deps = {[testenv:dbt_integration_postgres_pytest]deps} commands = dbt --version dbt debug --target postgres dbt deps --target postgres dbt build --target postgres --full-refresh - bash -c "cd {toxinidir} && {[testenv:centralized_integration_postgres_pytest]commands}" + bash -c "cd {toxinidir} && {[testenv:dbt_integration_postgres_pytest]commands}" # Postgres integration tests for centralized dbt testing # Uses pytest to run tests, assumes dbt is already installed in environment -[testenv:centralized_integration_postgres_pytest] +[testenv:dbt_integration_postgres_pytest] changedir = {toxinidir} allowlist_externals = pytest deps = pytest