File: tox.ini

package info (click to toggle)
python-kubernetes 30.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 39,984 kB
  • sloc: python: 126,462; sh: 699; makefile: 46
file content (26 lines) | stat: -rw-r--r-- 699 bytes parent folder | download
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
[tox]
envlist =
   py3{6,7,8,9}
   py3{6,7,8,9}-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
commands =
   python -V
   !functional: pytest -vvv -s {env:_TOX_COVERAGE_RUN:} --ignore=kubernetes/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]
commands =
   python setup.py build_sphinx

[testenv:update-pycodestyle]
commands =
   {toxinidir}/scripts/update-pycodestyle.sh