forked from zzzeek/sqlalchemy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
regen_callcounts.tox.ini
47 lines (39 loc) · 1.33 KB
/
regen_callcounts.tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[tox]
envlist = py{311,312}-sqla_{cext,nocext}-db_{sqlite,postgresql,mysql,oracle,mssql}
[testenv]
deps=pytest
pytest-xdist
mock
db_postgresql: .[postgresql]
db_mysql: .[mysql]
db_oracle: .[oracle_oracledb]
db_mssql: .[mssql]
allowlist_externals=sh
commands=
db_{mysql}: {env:BASECOMMAND} {env:MYSQL:} {posargs}
db_{postgresql}: {env:BASECOMMAND} {env:POSTGRESQL:} {posargs}
db_{sqlite}: {env:BASECOMMAND} {env:SQLITE:} {posargs}
db_{oracle}: {env:BASECOMMAND} {env:ORACLE:} {posargs}
db_{mssql}: {env:BASECOMMAND} {env:MSSQL:} {posargs}
passenv=
ORACLE_HOME
NLS_LANG
TOX_POSTGRESQL
TOX_MYSQL
TOX_ORACLE
TOX_MSSQL
TOX_SQLITE
TOX_WORKERS
# -E : ignore PYTHON* environment variables (such as PYTHONPATH)
# -s : don't add user site directory to sys.path; also PYTHONNOUSERSITE
setenv=
BASECOMMAND=python -m pytest test/aaa_profiling -x --nomemory --force-write-profiles
PYTHONPATH=
PYTHONNOUSERSITE=1
sqla_nocext: DISABLE_SQLALCHEMY_CEXT=1
sqla_cext: REQUIRE_SQLALCHEMY_CEXT=1
db_sqlite: SQLITE={env:TOX_SQLITE:--db sqlite}
db_postgresql: POSTGRESQL={env:TOX_POSTGRESQL:--db postgresql}
db_mysql: MYSQL={env:TOX_MYSQL:--db mysql}
db_oracle: ORACLE={env:TOX_ORACLE:--db oracledb}
db_mssql: MSSQL={env:TOX_MSSQL:--db mssql}