forked from eclecticiq/OpenTAXII
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
34 lines (32 loc) · 942 Bytes
/
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
[tox]
skipsdist = True
envlist = py36-sqlalchemy{13,14}-werkzeuglt21-{sqlite,mysql,mariadb,postgres},
py{37,38,39,310,py3,ston}-sqlalchemy{13,14}-werkzeug{lt21,gte21}-{sqlite,mysql,mariadb,postgres}
[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py310
pypy-3.7: pypy3
[testenv]
commands =
py.test --cov {envsitepackagesdir}/opentaxii {posargs}
deps =
sqlite: -rrequirements-dev.txt
mysql,mariadb: -rrequirements-dev-mysql.txt
postgres-!pypy3: -rrequirements-dev-postgres.txt
postgres-pypy3: -rrequirements-dev-postgres-pypy.txt
sqlalchemy13: sqlalchemy>=1.3,<1.4
sqlalchemy14: sqlalchemy>=1.4,<1.5
werkzeuglt21: werkzeug<2.1
werkzeuggte21: werkzeug>=2.1
setenv =
LC_ALL=en_US.UTF-8
sqlite: DBTYPE=sqlite
mysql: DBTYPE=mysql
mariadb: DBTYPE=mariadb
postgres: DBTYPE=postgres
pypy3: PYTEST_ADDOPTS="--no-cov"
usedevelop = True