Skip to content

Commit

Permalink
updating passenv in tox (#411)
Browse files Browse the repository at this point in the history
* fixing env write out in tox due to 4.0.0 release

* finish tox alignment and add changelog
  • Loading branch information
McKnight-42 authored Dec 7, 2022
1 parent 1791626 commit 24bed99
Show file tree
Hide file tree
Showing 2 changed files with 16 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"
10 changes: 8 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,11 @@ deps =
[testenv:{integration,py37,py38,py39,py310,py}-{bigquery}]
description = adapter plugin integration testing
skip_install = true
passenv = DBT_* BIGQUERY_TEST_* PYTEST_ADDOPTS DATAPROC_* GCS_BUCKET
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 24bed99

Please sign in to comment.