13 passenv = TOX_WORK_DIR
14 toxworkdir = {env:TOX_WORK_DIR:/tmp/v}
22 # request-2.22.0 does not work with python-3.4.9
24 # Markdown lint requires nodejs
26 # numpy-1.17.0 requires python 3.5
30 npm install --global remark-cli remark-lint write-good
31 python3 -m nltk.downloader punkt maxent_treebank_pos_tagger averaged_perceptron_tagger
32 coala --non-interactive
35 deps = -rrequirements.txt
37 sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
39 [testenv:ensure-documented]
41 ./ensure-documented.sh
45 jenkins-job-builder==2.8.0
47 jenkins-jobs -l DEBUG test --recursive -o {toxinidir}/archives/job-configs {toxinidir}/jjb:{toxinidir}/.jjb-test
49 [testenv:jjb-compare-xml]
59 jenkins-jobs -l DEBUG test --recursive -o {toxinidir}/archives/job-configs {toxinidir}/jjb:{toxinidir}/.jjb-test
62 commands = python {toxinidir}/check_jjb_version.py
66 commands = lftools license check-dir -r '.+' shell
71 pre-commit run --all-files
77 [testenv:jenkins-jobs]
79 jenkins-job-builder{env:JJB_VERSION_OP:~=}{env:JJB_VERSION:2.8.0}
81 jenkins-jobs {posargs:--help}
84 deps = lftools{env:LFTOOLS_VERSION_OP:~=}{env:LFTOOLS_VERSION:0.13.0}
85 commands = lftools {posargs:--help}
88 deps = python-openstackclient{env:OPENSTACK_VERSION_OP:~=}{env:OPENSTACK_VERSION:3.15.0}
89 commands = openstack {posargs:--help}
92 deps = reno{env:RENO_VERSION_OP:~=}{env:RENO_VERSION:2.10.0}
93 commands = reno {posargs:--help}