From 7f23081cc04d9a95de0450a555e44cb75a71fe7f Mon Sep 17 00:00:00 2001 From: Jason Antman Date: Sun, 11 Dec 2022 07:16:36 -0500 Subject: [PATCH] changes for tox 4.0 --- CHANGES.rst | 1 + tox.ini | 11 ++++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index b1f00aa..f10fd34 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -32,6 +32,7 @@ Unreleased Changes * Move testing and runtime to Python 3.10, and get all test environments running successfully. * Move CI from TravisCI to GitHub Actions and remove all traces of TravisCI. * Add acceptance test coverage of the Plaid Link process. +* Updates for ``tox`` 4.0.6. 1.0.0 (2018-07-07) ------------------ diff --git a/tox.ini b/tox.ini index 8513d0e..821159e 100644 --- a/tox.ini +++ b/tox.ini @@ -22,8 +22,9 @@ deps = pytest-timeout alembic-verify retrying + pytest-flask==1.0.0 -passenv=CI CONTINUOUS_INTEGRATION AWS* NO_REFRESH_DB DB_CONNSTRING NO_CLASS_REFRESH_DB +passenv=CI,CONTINUOUS_INTEGRATION,AWS*,NO_REFRESH_DB,DB_CONNSTRING,NO_CLASS_REFRESH_DB setenv = TOXINIDIR={toxinidir} TOXDISTDIR={distdir} @@ -40,7 +41,7 @@ commands = py.test -rxs -vv --durations=10 --pycodestyle --flakes --blockage -m "not integration and not acceptance and not migrations" --cov-report term-missing --cov-report xml --cov-report html --cov-config {toxinidir}/.coveragerc --cov=biweeklybudget --html=results/report.html {posargs} biweeklybudget [testenv:docs] -passenv=CI CONTINUOUS_INTEGRATION +passenv=CI,CONTINUOUS_INTEGRATION setenv = TOXINIDIR={toxinidir} TOXDISTDIR={distdir} @@ -106,7 +107,7 @@ commands = deps = -r{toxinidir}/requirements.txt docker==2.2.1 -passenv = {[testenv]passenv} DOCKER_TEST_TAG DOCKER_BUILD_VER +passenv = {[testenv]passenv},DOCKER_TEST_TAG,DOCKER_BUILD_VER setenv = {[testenv]setenv} basepython = python3.10 sitepackages = False @@ -162,7 +163,7 @@ deps = pytest-timeout alembic-verify retrying -passenv=CI CONTINUOUS_INTEGRATION AWS* NO_REFRESH_DB DB_CONNSTRING NO_CLASS_REFRESH_DB PLAID_* +passenv=CI,CONTINUOUS_INTEGRATION,AWS*,NO_REFRESH_DB,DB_CONNSTRING,NO_CLASS_REFRESH_DB,PLAID_* setenv = TOXINIDIR={toxinidir} TOXDISTDIR={distdir} @@ -188,7 +189,7 @@ deps = alembic-verify pytest-html retrying -passenv=CI CONTINUOUS_INTEGRATION NO_REFRESH_DB NO_CLASS_REFRESH_DB MYSQL_* SQL_ECHO +passenv=CI,CONTINUOUS_INTEGRATION,NO_REFRESH_DB,NO_CLASS_REFRESH_DB,MYSQL_*,SQL_ECHO setenv = {[testenv]setenv} basepython = python3.10 sitepackages = False