forked from eclecticiq/OpenTAXII
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
32 lines (30 loc) · 848 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
[tox]
skipsdist = True
envlist = py{38,39,310,311,py3}-sqlalchemy{13,14}-werkzeug{lt21,gte21}-{sqlite,mysql,mariadb,postgres}
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
pypy-3.10: 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