blob: 673ca37ccc22c68198f0d29381910f1e6faa87d1 [file] [log] [blame]
Lusheng Ji88648fc2017-09-20 02:18:20 +00001# content of: tox.ini , put in same dir as setup.py
2[tox]
Michal Jagielloc3b06292020-08-13 06:51:23 +00003envlist = py36,flake8,py38
Lusheng Ji88648fc2017-09-20 02:18:20 +00004
5[testenv]
6deps=
Lusheng Ji88648fc2017-09-20 02:18:20 +00007 pytest
8 coverage
9 pytest-cov
Tommy Carpenter7b310082017-09-25 11:45:12 -040010setenv =
Tommy Carpenter1474cbb2019-06-24 15:52:59 +000011 HOSTNAME = testhostname
12 CONFIG_BINDING_SERVICE = config-binding-service
Andrew Gauld373f0f32018-02-21 11:14:46 -050013 PYTHONPATH={toxinidir}
Tommy Carpenter7b310082017-09-25 11:45:12 -040014
Andrew Gauld373f0f32018-02-21 11:14:46 -050015commands=
16 pytest --junitxml xunit-results.xml --cov onap_dcae_cbs_docker_client --cov-report xml
17 coverage xml
Tommy Carpenter426fd9d2018-03-12 11:29:33 -040018
19[testenv:flake8]
20basepython = python3.6
21skip_install = true
22deps = flake8
23commands = flake8 setup.py onap_dcae_cbs_docker_client tests
24
25[flake8]
26ignore = E501