Skip to content

Commit

Permalink
changes for tox 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jantman committed Dec 11, 2022
1 parent 893965b commit 7f23081
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
------------------
Expand Down
11 changes: 6 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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}
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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}
Expand All @@ -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
Expand Down

0 comments on commit 7f23081

Please sign in to comment.