-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Expand file tree
/
Copy pathtox.ini
More file actions
32 lines (29 loc) · 927 Bytes
/
Copy pathtox.ini
File metadata and controls
32 lines (29 loc) · 927 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
32
[tox]
envlist =
py3{10,11,12,13,14}
py3{10,11,12,13,14}-functional
[testenv]
passenv = TOXENV,CI,TRAVIS,TRAVIS_*
usedevelop = True
install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-asyncio.txt
-r{toxinidir}/test-requirements-asyncio.txt
commands =
python -V
!functional: pytest -vvv -s {env:_TOX_COVERAGE_RUN:} --ignore=kubernetes/e2e_test --ignore=kubernetes/aio/e2e_test
functional: {toxinidir}/scripts/kube-init.sh pytest -vvv -s []
coverage: python -m coverage xml
setenv =
coverage: _TOX_COVERAGE_RUN=--cov=kubernetes/watch --cov=kubernetes/config
[testenv:docs]
allowlist_externals = make
deps =
{[testenv]deps}
-r{toxinidir}/doc/requirements-docs.txt
commands =
make -C doc html
[testenv:update-pycodestyle]
commands =
{toxinidir}/scripts/update-pycodestyle.sh