forked from eclecticiq/OpenTAXII
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
38 lines (34 loc) · 889 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
35
36
37
38
[tox]
skipsdist = True
envlist = py{36,37,38,39,py3,ston}-sqlalchemy{13,14}-{sqlite,mysql,mariadb,postgres}, flake8
[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39, flake8
pypy-3.7: pypy3
[testenv]
commands =
py.test --cov {envsitepackagesdir}/opentaxii {posargs}
deps =
sqlite,flake8: -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
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
[testenv:flake8]
basepython = python3
deps = flake8
commands = flake8
[flake8]
exclude = docs/*,.tox/*