Skip to content

Commit

Permalink
[BACKPORT] #411 (#413)
Browse files Browse the repository at this point in the history
* manual backport of tox fix post 4.0.0 release

* finsish format changes in tox
  • Loading branch information
McKnight-42 authored Dec 8, 2022
1 parent 2a56aec commit 02ebf7f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .changes/unreleased/Under the Hood-20221207-151813.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
kind: Under the Hood
body: fix issue with tox 4.0.0 release which changes passenv syntax for space-separated
variables
time: 2022-12-07T15:18:13.996118-06:00
custom:
Author: McKnight-42
Issue: "411"
PR: "411"
11 changes: 9 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ envlist = py37,py38,py39,py310
[testenv:{unit,py37,py38,py39,py310,py}]
description = unit testing
skip_install = true
passenv = DBT_* PYTEST_ADDOPTS
passenv =
DBT_*
PYTEST_ADDOPTS
commands = {envpython} -m pytest {posargs} tests/unit
deps =
-rdev-requirements.txt
Expand All @@ -14,7 +16,12 @@ deps =
[testenv:{integration,py37,py38,py39,py310,py}-{bigquery}]
description = adapter plugin integration testing
skip_install = true
passenv = DBT_* BIGQUERY_TEST_* PYTEST_ADDOPTS
passenv =
DBT_*
BIGQUERY_TEST_*
PYTEST_ADDOPTS
DATAPROC_*
GCS_BUCKET
commands =
bigquery: {envpython} -m pytest {posargs} -m profile_bigquery tests/integration
bigquery: {envpython} -m pytest {posargs} -vv tests/functional --profile service_account
Expand Down

0 comments on commit 02ebf7f

Please sign in to comment.