-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
47 lines (42 loc) · 1005 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
39
40
41
42
43
44
45
46
47
[tox]
envlist = py{36,37}-courier_released,flake8
[testenv]
deps =
courier_master: -e git://github.com/operator-framework/operator-courier#egg=operatorcourier
courier_released: operator-courier
.[test]
commands = pytest --cov=omps --ignore=tests/integration tests/
[coverage:report]
fail_under = 90
[testenv:integration]
basepython = python3
skipsdist = true
skip_install = true
# let's handle integration test deps separately
deps =
pytest
requests
PyYAML
operator-courier >= 1.3.0
koji
passenv = OMPS_INT_TEST_*
setenv =
REQUESTS_CA_BUNDLE = /etc/pki/tls/certs/ca-bundle.crt
commands =
pytest -vv --confcutdir=tests/integration {posargs:tests/integration}
[testenv:flake8]
deps =
flake8
skipdist = true
skip_install = true
commands = flake8
[flake8]
max-line-length: 90
ignore =
# E731 do not assign a lambda expression, use a def
E731
exclude =
# flake8 defaults
.svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg,
# added
venv