forked from ansible/ansible-rulebook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
31 lines (27 loc) · 766 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
[tox]
envlist = flake8,py38-{durable,drools},py39-{durable,drools},py310-{durable,drools},py311-{durable,drools}
isolated_build = True
[travis]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
[testenv:flake8]
basepython = python
deps = flake8==5.0.4
commands = flake8 ansible_rulebook tests
[testenv]
passenv = JAVA_HOME
setenv =
PYTHONPATH = {toxinidir}
durable: EDA_RULES_ENGINE=durable_rules
drools: EDA_RULES_ENGINE=drools
deps =
-r{toxinidir}/requirements_dev.txt
; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following line:
; -r{toxinidir}/requirements.txt
commands =
pip install -U pip
pytest --basetemp={envtmpdir}