-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtox.ini
More file actions
31 lines (28 loc) · 745 Bytes
/
tox.ini
File metadata and controls
31 lines (28 loc) · 745 Bytes
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
[tox]
envlist =
py39,
py310,
py311,
flake8
[travis]
python =
3.11: py311
3.10: py310
3.9: py39
[testenv]
setenv =
PYTHONPATH = {toxinidir}
deps =
.[nats-event-publisher, kafka-event-publisher, rabbitmq-event-publisher, pyorthanc]
-r{toxinidir}/requirements_dev.txt
pytest-cov
; 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} --cov --cov-report term --cov-report html --cov=orthanc_ext --cov-append tests
[testenv:flake8]
basepython = python
deps = flake8
commands = flake8 orthanc_ext tests