depends = buildcontroller,tests_hybrid
changedir = {toxinidir}/lighty
commands =
- ./build.sh
+ - ./build.sh
[testenv:sims]
passenv = USE_SIMS
basepython = python3
deps = pre-commit
passenv = HOME
+allowlist_externals = sh
+ cpan
+ sudo
+ which
commands =
+ sh -c 'which cpan || sudo yum install -y perl-CPAN \
+ || (echo "cpan command not found - please install it \
+ (e.g. sudo apt-get install perl-modules | yum install perl-CPAN )" >&2 && exit 1)'
pre-commit run --all-files --show-diff-on-failure
pre-commit run gitlint-ci --hook-stage manual