From 6defc86ef71b6cedf3dfbdb86fbc4f6560e570ca Mon Sep 17 00:00:00 2001 From: Jeremy Cohen Date: Wed, 7 Dec 2022 23:55:11 +0100 Subject: [PATCH] Adjust tox passenv to be multiline (#6405) (#6406) --- tox.ini | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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