mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 18:35:13 +00:00
Signed-off-by: Rich Megginson <rmeggins@redhat.com>
The new tox-lsr also requires the use of `{toxinidir}` for the
local config file paths.
25 lines
774 B
INI
25 lines
774 B
INI
# SPDX-License-Identifier: MIT
|
|
[lsr_config]
|
|
lsr_enable = true
|
|
|
|
[lsr_yamllint]
|
|
configfile = {toxinidir}/.yamllint.yml
|
|
configbasename = .yamllint.yml
|
|
|
|
[lsr_ansible-lint]
|
|
configfile = {toxinidir}/.ansible-lint
|
|
|
|
[testenv]
|
|
setenv =
|
|
RUN_PYLINT_EXCLUDE = ^(\..*|ensure_provider_tests\.py|print_all_options\.py)$
|
|
RUN_PYTEST_SETUP_MODULE_UTILS = true
|
|
RUN_PYLINT_SETUP_MODULE_UTILS = true
|
|
RUN_PYTEST_EXTRA_ARGS = -v
|
|
RUN_FLAKE8_EXTRA_ARGS = --exclude tests/ensure_provider_tests.py,scripts/print_all_options.py,tests/network/ensure_provider_tests.py,.svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg
|
|
LSR_PUBLISH_COVERAGE = normal
|
|
|
|
[testenv:ensure_provider_tests]
|
|
basepython = python3
|
|
changedir = tests
|
|
commands =
|
|
python ./ensure_provider_tests.py {posargs}
|