diff --git a/tox.ini b/tox.ini index 30003b390ad..8461b9c8e4f 100644 --- a/tox.ini +++ b/tox.ini @@ -5,8 +5,12 @@ envlist = unit,integration [testenv:{unit,py37,py38,py39,py310,py}] description = unit testing skip_install = true -passenv = DBT_* PYTEST_ADDOPTS -commands = {envpython} -m pytest --cov=core {posargs} test/unit +passenv = + DBT_* + PYTEST_ADDOPTS +commands = + {envpython} -m pytest --cov=core {posargs} test/unit + {envpython} -m pytest --cov=core {posargs} tests/unit deps = -rdev-requirements.txt -reditable-requirements.txt @@ -14,7 +18,10 @@ deps = [testenv:{integration,py37-integration,py38-integration,py39-integration,py310-integration,py-integration}] description = adapter plugin integration testing skip_install = true -passenv = DBT_* POSTGRES_TEST_* PYTEST_ADDOPTS +passenv = + DBT_* + POSTGRES_TEST_* + PYTEST_ADDOPTS commands = {envpython} -m pytest --cov=core -m profile_postgres {posargs} test/integration {envpython} -m pytest --cov=core {posargs} tests/functional