Skip to content

Commit

Permalink
cleanup tox file
Browse files Browse the repository at this point in the history
  • Loading branch information
emmyoop committed Jul 30, 2024
1 parent 7408dc7 commit 9037460
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,13 @@ passenv =
BIGQUERY_KEYFILE_JSON
BIGQUERY_SCHEMA

# Uses pytest to run tests, very basic and doesn't require dbt
[testenv:dbt_integration_pytest]
changedir = {toxinidir}
allowlist_externals = pytest
deps = pytest
skip_install = true
commands =
pytest {posargs} tests/functional

# 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
{[testenv:dbt_integration_pytest]allowlist_externals}
skip_install = true
deps = {[testenv:dbt_integration_pytest]deps}
commands =
dbt --version
dbt debug --target snowflake
Expand All @@ -70,6 +59,7 @@ commands =
dbt build --target postgres --full-refresh

# 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 =
Expand All @@ -82,6 +72,7 @@ commands =
dbt build --target bigquery --full-refresh

# redshift integration tests for centralized dbt testing
# run dbt commands directly, assumes dbt is already installed in environment
[testenv:dbt_integration_redshift]
changedir = integration_tests
allowlist_externals =
Expand Down

0 comments on commit 9037460

Please sign in to comment.