3 envlist = json,yaml,md,pylama,validate
23 /bin/sh -c "git --no-pager diff HEAD HEAD^ --name-only '*.json' > /tmp/.coalist_json"
25 # '\ ' at the end of command is needed for a case where above command returns empty list (it adds empty file
26 # parameter to '--files' opt
27 /bin/bash -c "coala --non-interactive --disable-caching --no-autoapply-warn json --files $(</tmp/.coalist_json) \ "
31 /bin/sh -c "git --no-pager diff HEAD HEAD^ --name-only '*.yaml' '*.yml' > /tmp/.coalist_yaml"
33 # '\ ' at the end of command is needed for a case where above command returns empty list (it adds empty file
34 # parameter to '--files' opt
35 /bin/bash -c "coala --non-interactive --disable-caching --no-autoapply-warn yaml --files $(</tmp/.coalist_yaml) \ "
39 /bin/sh -c "git --no-pager diff HEAD HEAD^ --name-only '*.py' > /tmp/.coalist_py"
41 /bin/bash -c "coala --non-interactive --disable-caching --no-autoapply-warn py --files $(</tmp/.coalist_py) \ "
45 /bin/sh -c "git --no-pager diff HEAD HEAD^ --name-only '*.rst' > /tmp/.coalist_rst"
46 deps = -r ./docs/requirements-docs.txt
48 /bin/sh -c "sphinx-build -n -W -b html docs docs/build/html $(</tmp/.coalist_rst)"
49 /bin/sh -c "sphinx-build -n -W -b linkcheck docs docs/build/linkcheck $(</tmp/.coalist_rst)"
54 npm install --global remark-cli
55 /bin/sh -c "git --no-pager diff HEAD HEAD^ --name-only '*.md' > /tmp/.coalist_md"
57 /bin/bash -c "coala --non-interactive --disable-caching --no-autoapply-warn md --files $(</tmp/.coalist_md) \ "
60 basepython = python3.11
66 PYTHONPATH = {toxinidir}/src
67 commands = pylama -o pylama.ini src/
70 basepython = python3.11
75 PYTHONPATH = {toxinidir}/src
76 commands = python run_test.py all true
79 basepython = python3.11
84 PYTHONPATH = {toxinidir}/src
85 commands = python run_test.py {posargs}
88 basepython = python3.11
92 commands = isort src/onaptests --check --thirdparty=onapsdk
95 basepython = python3.11
99 commands = isort src/onaptests --thirdparty=onapsdk