summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini15
1 files changed, 11 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index 0b41cc8..fd1ce31 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
[tox]
-envlist = py
+envlist = py-sqlalchemy
SQLA_REPO = {env:SQLA_REPO:git+https://github.com/sqlalchemy/sqlalchemy.git}
@@ -10,8 +10,8 @@ cov_args=--cov=alembic --cov-report term --cov-report xml
deps=pytest>4.6
pytest-xdist
mock
- sqla13: {[tox]SQLA_REPO}@rel_1_3
- sqlamaster: {[tox]SQLA_REPO}@master
+ sqla13: {[tox]SQLA_REPO}@rel_1_3#egg=sqlalchemy
+ sqlamaster: {[tox]SQLA_REPO}@master#egg=sqlalchemy
postgresql: psycopg2
mysql: mysqlclient
mysql: pymysql;python_version>="3"
@@ -20,6 +20,10 @@ deps=pytest>4.6
oracle: cx_oracle>=7;python_version>="3"
mssql: pymssql
cov: pytest-cov
+ sqlalchemy: sqlalchemy>=1.3.0
+ mako
+ python-editor>=0.3
+ python-dateutil
@@ -40,6 +44,9 @@ setenv=
mssql: MSSQL={env:TOX_MSSQL:--db pymssql}
pyoptimize: PYTHONOPTIMIZE=1
pyoptimize: LIMITTESTS="tests/test_script_consumption.py"
+ future: SQLALCHEMY_TESTING_FUTURE_ENGINE=1
+ SQLALCHEMY_WARN_20=1
+
# tox as of 2.0 blocks all environment variables from the
# outside, unless they are here (or in TOX_TESTENV_PASSENV,
@@ -65,4 +72,4 @@ deps=
black==20.8b1
commands =
flake8 ./alembic/ ./tests/ setup.py docs/build/conf.py {posargs}
- black --check .
+ black --check setup.py tests alembic