Skip to content

Commit

Permalink
Adjust tox passenv to be multiline (#6405)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtcohen6 committed Dec 7, 2022
1 parent d6d1d14 commit 37332a5
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,23 @@ 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

[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
Expand Down

0 comments on commit 37332a5

Please sign in to comment.